[Glibc-bsd-commits] r5853 - trunk/glibc-ports-2.22/kfreebsd/bits

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Thu Dec 3 14:19:27 UTC 2015


Author: aurel32
Date: 2015-12-03 14:19:27 +0000 (Thu, 03 Dec 2015)
New Revision: 5853

Modified:
   trunk/glibc-ports-2.22/kfreebsd/bits/fcntl.h
Log:
Fix F_DUPFD_CLOEXEC visibility


Modified: trunk/glibc-ports-2.22/kfreebsd/bits/fcntl.h
===================================================================
--- trunk/glibc-ports-2.22/kfreebsd/bits/fcntl.h	2015-12-03 14:18:24 UTC (rev 5852)
+++ trunk/glibc-ports-2.22/kfreebsd/bits/fcntl.h	2015-12-03 14:19:27 UTC (rev 5853)
@@ -148,7 +148,7 @@
 #define F_SETLK64	12	/* Set record locking info (non-blocking).  */
 #define F_SETLKW64	13	/* Set record locking info (blocking).	*/
 
-#if defined __USE_MISC || __POSIX_VISIBLE >= 200809
+#ifdef __USE_XOPEN2K8
 #define	F_DUPFD_CLOEXEC	17	/* Like F_DUPFD, but FD_CLOEXEC is set */
 #endif
 #if defined __USE_MISC




More information about the Glibc-bsd-commits mailing list