Opened 14 years ago

Closed 14 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!

Change History (1)

comment:1 Changed 14 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

This is probably what's been responsible for some of the really weird tcpip inheritance problems. Fixed now.

Note: See TracTickets for help on using tickets.