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

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Tue Oct 20 15:47:23 UTC 2015


Author: aurel32
Date: 2015-10-20 15:47:23 +0000 (Tue, 20 Oct 2015)
New Revision: 5802

Modified:
   trunk/glibc-ports/kfreebsd/bits/fcntl.h
Log:
Define F_DUP2FD_CLOEXEC (closes: #712074)


Modified: trunk/glibc-ports/kfreebsd/bits/fcntl.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/fcntl.h	2015-10-20 15:09:41 UTC (rev 5801)
+++ trunk/glibc-ports/kfreebsd/bits/fcntl.h	2015-10-20 15:47:23 UTC (rev 5802)
@@ -151,6 +151,9 @@
 #if defined __USE_MISC || __POSIX_VISIBLE >= 200809
 #define	F_DUPFD_CLOEXEC	17	/* Like F_DUPFD, but FD_CLOEXEC is set */
 #endif
+#if define __USE_MISC
+#define F_DUP2FD_CLOEXEC 18	/* Like F_DUP2FD, but FD_CLOEXEC is set */
+#endif
 
 #if defined __USE_MISC || defined __USE_UNIX98
 # define F_GETOWN	5	/* Get owner of socket (receiver of SIGIO).  */




More information about the Glibc-bsd-commits mailing list