On Wed, 2008-08-06 at 14:00 +1000, Bojan Smojver wrote: > I was thinking something like this (untested).
Probably not complete. I guess we should check in file_cleanup() if the error on close() is EBADF and not report it if O_CLOEXEC is defined. Or something like that... -- Bojan