On Tuesday, 12 March 2013 at 21:39:47 UTC, Steven Schveighoffer wrote:
I think all are in agreement at this point that closing the files between fork and exec is a good solution. Whether or not to ALSO set F_CLOEXEC wherever Phobos opens a file descriptor is an additional matter.

I have a created a pull request for a sys/resource.h translation now. It contains getrlimit(), which we can use to get the max. number of file descriptors.

https://github.com/D-Programming-Language/druntime/pull/445

Lars

Reply via email to