about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-11-18 22:51:16 +0000
committerRoland McGrath <roland@gnu.org>2007-11-18 22:51:16 +0000
commit9ef78a1208245796a10b6c4a79744f6127342e49 (patch)
treeac00435d8faa3036303dfa90808a821b97de356d /sysdeps/mach
parent5879ad50b97c230b87271b2eafc37533c81a3126 (diff)
downloadglibc-9ef78a1208245796a10b6c4a79744f6127342e49.tar.gz
glibc-9ef78a1208245796a10b6c4a79744f6127342e49.tar.xz
glibc-9ef78a1208245796a10b6c4a79744f6127342e49.zip
2007-11-18 Roland McGrath <roland@frob.com>
	* sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/bits/fcntl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/fcntl.h b/sysdeps/mach/hurd/bits/fcntl.h
index 8ed786d256..2f890c1b65 100644
--- a/sysdeps/mach/hurd/bits/fcntl.h
+++ b/sysdeps/mach/hurd/bits/fcntl.h
@@ -71,7 +71,6 @@
 #define O_SYNC		O_FSYNC
 #ifdef __USE_GNU
 # define O_NOATIME	0x0800	/* Don't set access time on read (owner).  */
-# define O_CLOEXEC	0x00010000 /* Set FD_CLOEXEC.  */
 #endif
 #ifdef	__USE_MISC
 # define O_SHLOCK	0x00020000 /* Open with shared file lock.  */
@@ -118,6 +117,9 @@
    once the file has been opened.  */
 
 #define	O_TRUNC		0x00010000 /* Truncate file to zero length.  */
+#ifdef __USE_GNU
+# define O_CLOEXEC	0x00400000 /* Set FD_CLOEXEC.  */
+#endif
 
 
 /* Controlling terminal flags.  These are understood only by `open',