Opened 19 years ago
Closed 19 years ago
#60 closed defect (fixed)
libc: filehandle inheritance doesn't work right!
Reported by: | bird | Owned by: | bird |
---|---|---|---|
Priority: | highest | Milestone: | libc-0.6.1 |
Component: | libc-backend | Version: | 0.6 |
Severity: | blocker | Keywords: | filehandles inheritance exec spawn |
Cc: |
Description
There is a bug in the file handle inheritance code (exec/spawn) where iFH isn't incremented as the inherited data is traversed. So, stdin get's what ever flags applies to the last handle in the inherit chunk. bad bad bad!
Note:
See TracTickets
for help on using tickets.
This is probably what's been responsible for some of the really weird tcpip inheritance problems. Fixed now.