mirror of
https://github.com/textmate/textmate.git
synced 2026-01-21 04:38:13 -05:00
Instead of passing the file descriptor to the child, and have the child close it, we set FD_CLOEXEC on the file descriptor in the parent process. While it limits the window in which another thread can fork() and cause the file descriptor to be “leaked”, it doesn’t eliminate the problem.