mirror of git://sourceware.org/git/glibc.git
2007-11-18 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value.
This commit is contained in:
parent
5879ad50b9
commit
9ef78a1208
|
|
@ -71,7 +71,6 @@
|
||||||
#define O_SYNC O_FSYNC
|
#define O_SYNC O_FSYNC
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define O_NOATIME 0x0800 /* Don't set access time on read (owner). */
|
# define O_NOATIME 0x0800 /* Don't set access time on read (owner). */
|
||||||
# define O_CLOEXEC 0x00010000 /* Set FD_CLOEXEC. */
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define O_SHLOCK 0x00020000 /* Open with shared file lock. */
|
# define O_SHLOCK 0x00020000 /* Open with shared file lock. */
|
||||||
|
|
@ -118,6 +117,9 @@
|
||||||
once the file has been opened. */
|
once the file has been opened. */
|
||||||
|
|
||||||
#define O_TRUNC 0x00010000 /* Truncate file to zero length. */
|
#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',
|
/* Controlling terminal flags. These are understood only by `open',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue