On Tue, 2014-03-11 at 10:03 +0100, Martin Lucina wrote:
h.b.furuseth@usit.uio.no said:
It sets it to get rid of the file lock on the lockfile, and does not bother with the others.
In that case can I suggest adding FD_CLOEXEC to the other descriptors? I'm using MDB in a program that spawns other processes and I'd prefer not to leak the fds to them.
Sounds like a fine opportunity to factor out some #ifdef _WIN32 stuff:-)