1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
	__USE_GNU.
	* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.

2000-09-29  Andreas Jaeger  <aj@suse.de>
This commit is contained in:
Andreas Jaeger
2000-09-29 20:25:04 +00:00
parent 49cd298d5d
commit 1df99b5f25
9 changed files with 227 additions and 200 deletions

View File

@ -1,3 +1,14 @@
2000-09-29 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
__USE_GNU.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2000-09-29 Andreas Jaeger <aj@suse.de> 2000-09-29 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux

View File

@ -123,6 +123,7 @@
# define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */ # define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */
#endif #endif
#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY. */ /* Types of directory notifications that may be requested with F_NOTIFY. */
# define DN_ACCESS 0x00000001 /* File accessed. */ # define DN_ACCESS 0x00000001 /* File accessed. */
# define DN_MODIFY 0x00000002 /* File modified. */ # define DN_MODIFY 0x00000002 /* File modified. */
@ -131,6 +132,7 @@
# define DN_RENAME 0x00000010 /* File renamed. */ # define DN_RENAME 0x00000010 /* File renamed. */
# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ # define DN_ATTRIB 0x00000020 /* File changed attibutes. */
# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
#endif
struct flock struct flock
{ {

View File

@ -122,6 +122,7 @@
# define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */ # define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */
#endif #endif
#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY. */ /* Types of directory notifications that may be requested with F_NOTIFY. */
# define DN_ACCESS 0x00000001 /* File accessed. */ # define DN_ACCESS 0x00000001 /* File accessed. */
# define DN_MODIFY 0x00000002 /* File modified. */ # define DN_MODIFY 0x00000002 /* File modified. */
@ -130,6 +131,7 @@
# define DN_RENAME 0x00000010 /* File renamed. */ # define DN_RENAME 0x00000010 /* File renamed. */
# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ # define DN_ATTRIB 0x00000020 /* File changed attibutes. */
# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
#endif
struct flock struct flock
{ {

View File

@ -120,6 +120,7 @@
#endif #endif
#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY. */ /* Types of directory notifications that may be requested with F_NOTIFY. */
# define DN_ACCESS 0x00000001 /* File accessed. */ # define DN_ACCESS 0x00000001 /* File accessed. */
# define DN_MODIFY 0x00000002 /* File modified. */ # define DN_MODIFY 0x00000002 /* File modified. */
@ -128,6 +129,7 @@
# define DN_RENAME 0x00000010 /* File renamed. */ # define DN_RENAME 0x00000010 /* File renamed. */
# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ # define DN_ATTRIB 0x00000020 /* File changed attibutes. */
# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
#endif
/* We don't need to support __USE_FILE_OFFSET64. */ /* We don't need to support __USE_FILE_OFFSET64. */
struct flock struct flock

View File

@ -122,6 +122,7 @@
# define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */ # define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */
#endif #endif
#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY. */ /* Types of directory notifications that may be requested with F_NOTIFY. */
# define DN_ACCESS 0x00000001 /* File accessed. */ # define DN_ACCESS 0x00000001 /* File accessed. */
# define DN_MODIFY 0x00000002 /* File modified. */ # define DN_MODIFY 0x00000002 /* File modified. */
@ -130,6 +131,7 @@
# define DN_RENAME 0x00000010 /* File renamed. */ # define DN_RENAME 0x00000010 /* File renamed. */
# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ # define DN_ATTRIB 0x00000020 /* File changed attibutes. */
# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
#endif
struct flock struct flock
{ {

View File

@ -124,6 +124,7 @@
# define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */ # define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */
#endif #endif
#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY. */ /* Types of directory notifications that may be requested with F_NOTIFY. */
# define DN_ACCESS 0x00000001 /* File accessed. */ # define DN_ACCESS 0x00000001 /* File accessed. */
# define DN_MODIFY 0x00000002 /* File modified. */ # define DN_MODIFY 0x00000002 /* File modified. */
@ -132,6 +133,7 @@
# define DN_RENAME 0x00000010 /* File renamed. */ # define DN_RENAME 0x00000010 /* File renamed. */
# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ # define DN_ATTRIB 0x00000020 /* File changed attibutes. */
# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
#endif
typedef struct flock typedef struct flock
{ {

View File

@ -126,6 +126,7 @@
# define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */ # define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */
#endif #endif
#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY. */ /* Types of directory notifications that may be requested with F_NOTIFY. */
# define DN_ACCESS 0x00000001 /* File accessed. */ # define DN_ACCESS 0x00000001 /* File accessed. */
# define DN_MODIFY 0x00000002 /* File modified. */ # define DN_MODIFY 0x00000002 /* File modified. */
@ -134,6 +135,7 @@
# define DN_RENAME 0x00000010 /* File renamed. */ # define DN_RENAME 0x00000010 /* File renamed. */
# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ # define DN_ATTRIB 0x00000020 /* File changed attibutes. */
# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
#endif
struct flock struct flock
{ {

View File

@ -122,6 +122,7 @@
# define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */ # define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */
#endif #endif
#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY. */ /* Types of directory notifications that may be requested with F_NOTIFY. */
# define DN_ACCESS 0x00000001 /* File accessed. */ # define DN_ACCESS 0x00000001 /* File accessed. */
# define DN_MODIFY 0x00000002 /* File modified. */ # define DN_MODIFY 0x00000002 /* File modified. */
@ -130,6 +131,7 @@
# define DN_RENAME 0x00000010 /* File renamed. */ # define DN_RENAME 0x00000010 /* File renamed. */
# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ # define DN_ATTRIB 0x00000020 /* File changed attibutes. */
# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
#endif
struct flock struct flock
{ {

View File

@ -138,6 +138,7 @@
# define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */ # define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */
#endif #endif
#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY. */ /* Types of directory notifications that may be requested with F_NOTIFY. */
# define DN_ACCESS 0x00000001 /* File accessed. */ # define DN_ACCESS 0x00000001 /* File accessed. */
# define DN_MODIFY 0x00000002 /* File modified. */ # define DN_MODIFY 0x00000002 /* File modified. */
@ -146,6 +147,7 @@
# define DN_RENAME 0x00000010 /* File renamed. */ # define DN_RENAME 0x00000010 /* File renamed. */
# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ # define DN_ATTRIB 0x00000020 /* File changed attibutes. */
# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
#endif
struct flock struct flock
{ {