fcntl: Fix F_DUPFD_CLOEXEC behaviour on Haiku.
commitc4af52baedd099698d83e204f67510678230cd16
authorBruno Haible <bruno@clisp.org>
Thu, 6 Sep 2018 16:36:02 +0000 (6 18:36 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 6 Sep 2018 16:36:02 +0000 (6 18:36 +0200)
tree000c87b58b917aebf531219559dba5c6743568fc
parenta340c8f8ea0c52dc6196346b6b12a3a96baa387f
fcntl: Fix F_DUPFD_CLOEXEC behaviour on Haiku.

* lib/fcntl.c (rpl_fcntl): For F_DUPFD_CLOEXEC, don't even try the
system fcntl.
* doc/posix-functions/fcntl.texi: Document the issue.
ChangeLog
doc/posix-functions/fcntl.texi
lib/fcntl.c