aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-10-15 15:07:50 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-10-15 15:07:50 +0000
commitb207ff4bd88564215ef7c68e61ec46aa4cb461c1 (patch)
treeb22c4df3e6f66c1e18fddd094b77b18051a2e126 /sysdeps
parentea97fc8e0b27e0ede8ca12f1f3f5c53cfbd43a81 (diff)
downloadglibc-b207ff4bd88564215ef7c68e61ec46aa4cb461c1.zip
glibc-b207ff4bd88564215ef7c68e61ec46aa4cb461c1.tar.gz
glibc-b207ff4bd88564215ef7c68e61ec46aa4cb461c1.tar.bz2
Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>cvs/libc-961016
* sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate as file name translation flags. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend to do anything for O_SHLOCK or O_EXLOCK. Those are now file name translation flags.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/fcntlbits.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/fcntlbits.h b/sysdeps/mach/hurd/fcntlbits.h
index 8a5e4cd..eb4dc97 100644
--- a/sysdeps/mach/hurd/fcntlbits.h
+++ b/sysdeps/mach/hurd/fcntlbits.h
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for GNU.
-Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -69,6 +69,10 @@ Cambridge, MA 02139, USA. */
#ifdef __USE_GNU
#define O_NOATIME 0x0800 /* Don't set access time on read (owner). */
#endif
+#ifdef __USE_MISC
+#define O_SHLOCK 0x00020000 /* Open with shared file lock. */
+#define O_EXLOCK 0x00040000 /* Open with exclusive file lock. */
+#endif
/* The name O_NONBLOCK is unfortunately overloaded; it is both a file name
@@ -103,10 +107,6 @@ Cambridge, MA 02139, USA. */
once the file has been opened. */
#define O_TRUNC 0x00010000 /* Truncate file to zero length. */
-#ifdef __USE_MISC
-#define O_SHLOCK 0x00020000 /* Open with shared file lock. */
-#define O_EXLOCK 0x00040000 /* Open with exclusive file lock. */
-#endif
/* Controlling terminal flags. These are understood only by `open',