Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Pipe descriptor leak

Closed / Fixed2417695fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-12-11 16:54:47
The receive- and trigger-pipe descriptors in the UNIX notifier are not set FD_CLOEXEC, so they leak to any child processes.
a3a3elplain2008-12-11 23:54:47
File Added - 304930: tcl_unix_notify.patch
ferrieuxplain2008-12-12 06:35:18
You are right. And this also points to a yet undetected similar bug with standalone pipes [chan pipe]. I will fix both as soon as I get back to a unix system. Thanks !
ferrieuxplain2008-12-12 21:32:41
File Added - 305053: pipe_cloexec.patch

File Added: pipe_cloexec.patch
ferrieuxplain2008-12-12 23:07:50
Committed.
Log in (anonymous is fine) to add a comment.

Attachments: