]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 23 Oct 1998 23:27:48 +0000 (23:27 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 23 Oct 1998 23:27:48 +0000 (23:27 +0000)
1998-10-23  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
macro.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
O_NOFOLLOW, O_DIRECT): New macros.
(O_DIRECTORY): Correct definition according to official 2.1.126.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
O_NOFOLLOW): New macros.

ChangeLog
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
sysdeps/unix/sysv/linux/bits/fcntl.h
sysdeps/unix/sysv/linux/i386/bits/fcntl.h
sysdeps/unix/sysv/linux/mips/bits/fcntl.h

index 7494f82ebab529dec2f36774dcfd141d2399f56b..e64892b0efc5e111d4b300e9866995151a355a34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
+       macro.
+       * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
+       O_NOFOLLOW, O_DIRECT): New macros.
+       (O_DIRECTORY): Correct definition according to official 2.1.126.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
+       O_NOFOLLOW): New macros.
+
 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
 
        * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
index e67ad19f65f8c7496deecc22dbb2919438812efc..70ebbeba618a4cf1e2a72b0bc5f388d7c15d29a3 100644 (file)
@@ -46,6 +46,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT      040000  /* Direct disk access.  */
 # define O_DIRECTORY   0100000 /* Must be a directory.  */
+# define O_NOFOLLOW    0200000 /* Do not follow links.  */
 #endif
 
 /* Not necessary, files are always with 64bit off_t.  */
index 35881d8ef36807efe32626e397574d8b68aa9a27..a2bbf29e03d28ae140da5272ace5833fc720c395 100644 (file)
@@ -43,6 +43,7 @@
 
 #ifdef __USE_GNU
 # define O_DIRECTORY   040000  /* Must be a directory.  */
+# define O_NOFOLLOW    0100000 /* Do not follow links.  */
 #endif
 
 /* XXX missing */
index 0c8afd22fab76e3e51b0162506bae72680d9a5f4..d4ef8e1096f98b2b8e2536dadaada613d002d653 100644 (file)
@@ -44,6 +44,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT       040000 /* Direct disk access.  */
 # define O_DIRECTORY   0200000 /* Must be a directory.  */
+# define O_NOFOLLOW    0400000 /* Do not follow links.  */
 #endif
 
 /* For now Linux has synchronisity options for data and read operations.
index 63e754d5fec22973fbe3abbb0a8f677610b026c0..a01dcaec327642238c2c2dce490ec72bd38aa221 100644 (file)
 #define O_ASYNC                0x1000
 
 #ifdef __USE_GNU
-# define O_DIRECTORY   0x2000  /* Must be a directory.  */
+# define O_LARGEFILE   0x2000  /* Allow large file opens.  */
+# define O_NOFOLLOW    0x4000  /* Do not follow links.  */
+# define O_DIRECT      0x8000  /* Direct disk access hint.  */
+# define O_DIRECTORY   0x10000 /* Must be a directory.  */
 #endif
 
 #define O_NDELAY       O_NONBLOCK