mirror of git://sourceware.org/git/glibc.git
Update.
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.
This commit is contained in:
parent
ce9d89b38b
commit
fc40fc6c92
12
ChangeLog
12
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>
|
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
|
||||||
|
|
||||||
* include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
|
* include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define O_DIRECT 040000 /* Direct disk access. */
|
# define O_DIRECT 040000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 0100000 /* Must be a directory. */
|
# define O_DIRECTORY 0100000 /* Must be a directory. */
|
||||||
|
# define O_NOFOLLOW 0200000 /* Do not follow links. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Not necessary, files are always with 64bit off_t. */
|
/* Not necessary, files are always with 64bit off_t. */
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define O_DIRECTORY 040000 /* Must be a directory. */
|
# define O_DIRECTORY 040000 /* Must be a directory. */
|
||||||
|
# define O_NOFOLLOW 0100000 /* Do not follow links. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* XXX missing */
|
/* XXX missing */
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define O_DIRECT 040000 /* Direct disk access. */
|
# define O_DIRECT 040000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
||||||
|
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For now Linux has synchronisity options for data and read operations.
|
/* For now Linux has synchronisity options for data and read operations.
|
||||||
|
|
|
@ -41,7 +41,10 @@
|
||||||
#define O_ASYNC 0x1000
|
#define O_ASYNC 0x1000
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#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
|
#endif
|
||||||
|
|
||||||
#define O_NDELAY O_NONBLOCK
|
#define O_NDELAY O_NONBLOCK
|
||||||
|
|
Loading…
Reference in New Issue