Use O_NOINHERIT for O_CLOEXEC on Windows
commit47dcc17ea8ac47debe4b80389d63a4be7c592ca0
authorOlly Betts <olly@survex.com>
Mon, 1 Oct 2018 07:56:20 +0000 (1 20:56 +1300)
committerOlly Betts <olly@survex.com>
Mon, 1 Oct 2018 07:56:20 +0000 (1 20:56 +1300)
treed741be98037053e0051014454fc247a9dc6f84a0
parent39e248ec8f0aa916200931ea84fa543d34c26d2b
Use O_NOINHERIT for O_CLOEXEC on Windows

This flag has essentially the same effect, and it's common in other
codebases to use O_NOINHERIT for O_CLOEXEC.
xapian-core/common/safefcntl.h