Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 934436 Details for
Bug 1001220
leaked fd
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fd leak patch
expect-5.45-fd-leak.patch (text/plain), 532 bytes, created by
Matej Mužila
on 2014-09-04 13:42:27 UTC
(
hide
)
Description:
fd leak patch
Filename:
MIME Type:
Creator:
Matej Mužila
Created:
2014-09-04 13:42:27 UTC
Size:
532 bytes
patch
obsolete
>diff -up expect5.45/exp_clib.c.orig expect5.45/exp_clib.c >--- expect5.45/exp_command.c.orig 2014-09-04 12:12:21.075837835 +0200 >+++ expect5.45/exp_command.c 2014-09-04 12:13:39.098593465 +0200 >@@ -1161,7 +1161,7 @@ Exp_SpawnObjCmd( > /* if stty finds dev(stderr) != dev(stdout) */ > > /* save error fd while we're setting up new one */ >- errorfd = fcntl(2,F_DUPFD,3); >+ errorfd = fcntl(2,F_DUPFD_CLOEXEC,3); > /* and here is the macro to restore it */ > #define restore_error_fd {close(2);fcntl(errorfd,F_DUPFD,2);} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1001220
: 934436