libctf: work on platforms without O_CLOEXEC.
authorNick Alcock <nick.alcock@oracle.com>
Tue, 4 Jun 2019 14:04:49 +0000 (15:04 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 4 Jun 2019 16:05:08 +0000 (17:05 +0100)
commitad118caa9f690114d11384b0813f30980cc333f3
tree3261c7175a31eb17ae72c2a8f0d107c4d1ad9f59
parent6b22174ff163b828a2069f22353018ca97fc0fb4
libctf: work on platforms without O_CLOEXEC.

(Not tested on any such platforms, since I don't have access to any at
the moment.  Testing encouraged.)

libctf/
* configure.ac: Check for O_CLOEXEC.
* ctf-decls.h (O_CLOEXEC): Define (to 0), if need be.
* config.h.in: Regenerate.
libctf/ChangeLog
libctf/config.h.in
libctf/configure
libctf/configure.ac
libctf/ctf-decls.h