]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 30 Apr 2000 07:17:24 +0000 (07:17 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 30 Apr 2000 07:17:24 +0000 (07:17 +0000)
2000-04-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
available if __USE_XOPEN2K.
* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
* sysdeps/unix/common/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.

ChangeLog
bits/fcntl.h
sysdeps/generic/bits/fcntl.h
sysdeps/mach/hurd/bits/fcntl.h
sysdeps/unix/common/bits/fcntl.h
sysdeps/unix/sysv/aix/bits/fcntl.h
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
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h

index 7ee48214d2e1277ea362959ecea06f7135bb5ad2..24cdb640cf336b361fcb2241802827d193e20528 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2000-04-30  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
+       available if __USE_XOPEN2K.
+       * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
+       * sysdeps/unix/common/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
+
 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
 
        * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
index 2984100efff81c1b910a404856c6f3d91cd26a5f..444cfb0d3fcd6c0b562fb6bdf5abe77f8a21b0f2 100644 (file)
@@ -20,7 +20,7 @@
 /* These values should be changed as appropriate for your system.  */
 
 #ifndef        _FCNTL_H
-#error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
+# error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
 #endif
 
 
@@ -41,7 +41,7 @@
 #define        O_NONBLOCK      0x0004  /* Non-blocking I/O.  */
 
 #ifdef __USE_BSD
-#define        O_NDELAY        O_NONBLOCK
+# define O_NDELAY      O_NONBLOCK
 #endif
 
 /* Mask for file access modes.  This is system-dependent in case
@@ -54,9 +54,9 @@
 #define        F_SETFD         2       /* Set file descriptor flags.  */
 #define        F_GETFL         3       /* Get file status flags.  */
 #define        F_SETFL         4       /* Set file status flags.  */
-#ifdef __USE_BSD
-#define        F_GETOWN        5       /* Get owner (receiver of SIGIO).  */
-#define        F_SETOWN        6       /* Set owner (receiver of SIGIO).  */
+#if defined __USE_BSD || defined __USE_XOPEN2K
+# define F_GETOWN      5       /* Get owner (receiver of SIGIO).  */
+# define F_SETOWN      6       /* Set owner (receiver of SIGIO).  */
 #endif
 #define        F_GETLK         7       /* Get record locking info.  */
 #define        F_SETLK         8       /* Set record locking info.  */
index 2984100efff81c1b910a404856c6f3d91cd26a5f..444cfb0d3fcd6c0b562fb6bdf5abe77f8a21b0f2 100644 (file)
@@ -20,7 +20,7 @@
 /* These values should be changed as appropriate for your system.  */
 
 #ifndef        _FCNTL_H
-#error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
+# error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
 #endif
 
 
@@ -41,7 +41,7 @@
 #define        O_NONBLOCK      0x0004  /* Non-blocking I/O.  */
 
 #ifdef __USE_BSD
-#define        O_NDELAY        O_NONBLOCK
+# define O_NDELAY      O_NONBLOCK
 #endif
 
 /* Mask for file access modes.  This is system-dependent in case
@@ -54,9 +54,9 @@
 #define        F_SETFD         2       /* Set file descriptor flags.  */
 #define        F_GETFL         3       /* Get file status flags.  */
 #define        F_SETFL         4       /* Set file status flags.  */
-#ifdef __USE_BSD
-#define        F_GETOWN        5       /* Get owner (receiver of SIGIO).  */
-#define        F_SETOWN        6       /* Set owner (receiver of SIGIO).  */
+#if defined __USE_BSD || defined __USE_XOPEN2K
+# define F_GETOWN      5       /* Get owner (receiver of SIGIO).  */
+# define F_SETOWN      6       /* Set owner (receiver of SIGIO).  */
 #endif
 #define        F_GETLK         7       /* Get record locking info.  */
 #define        F_SETLK         8       /* Set record locking info.  */
index b5696eb71628b025b90fb777cba6d33fd459c364..b49a0e318237dd56f173800abc942b2786dfa9b3 100644 (file)
 #define        F_SETFD         2       /* Set file descriptor flags.  */
 #define        F_GETFL         3       /* Get file status flags.  */
 #define        F_SETFL         4       /* Set file status flags.  */
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN2K
 # define F_GETOWN      5       /* Get owner (receiver of SIGIO).  */
 # define F_SETOWN      6       /* Set owner (receiver of SIGIO).  */
 #endif
index 31f213eab7096d101855152a4905ec409e3b9035..f38898ef4c1b807a9d3ebd4c3066b024120ec784 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for general Unix system.
-   Copyright (C) 1991, 1992, 1995, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1992, 1995, 1997, 2000 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
@@ -18,7 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #ifndef        _FCNTL_H
-#error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
+# error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
 #endif
 
 
@@ -34,9 +34,9 @@
 #define        O_TRUNC         0x0200  /* Truncate file to zero length.  */
 #define        O_NOCTTY        0x0800  /* Don't assign a controlling terminal.  */
 #ifdef __USE_MISC
-#define        O_ASYNC         0x0040  /* Send SIGIO to owner when data is ready.  */
-#define        O_FSYNC         0x0010  /* Synchronous writes.  */
-#define        O_SYNC          O_FSYNC
+# define O_ASYNC       0x0040  /* Send SIGIO to owner when data is ready.  */
+# define O_FSYNC       0x0010  /* Synchronous writes.  */
+# define O_SYNC                O_FSYNC
 #endif
 
 /* File status flags for `open' and `fcntl'.  */
@@ -44,7 +44,7 @@
 #define        O_NONBLOCK      0x0080  /* Non-blocking I/O.  */
 
 #ifdef __USE_MISC
-#define        O_NDELAY        0x0004
+# define O_NDELAY      0x0004
 #endif
 
 #ifdef __USE_MISC
    These are all the O_* flags, plus FREAD and FWRITE, which are
    independent bits set by which of O_RDONLY, O_WRONLY, and O_RDWR, was
    given to `open'.  */
-#define FREAD          1
-#define        FWRITE          2
+# define FREAD         1
+# define FWRITE                2
 
 /* Traditional Unix names the O_* bits.  */
-#define FASYNC         O_ASYNC
-#define FCREAT         O_CREAT
-#define FEXCL          O_EXCL
-#define FTRUNC         O_TRUNC
-#define FNOCTTY                O_NOCTTY
-#define FFSYNC         O_FSYNC
-#define FSYNC          O_SYNC
-#define FAPPEND                O_APPEND
-#define FNONBLOCK      O_NONBLOCK
-#define FNONBIO                O_NONBLOCK
-#define FNDELAY                O_NDELAY
+# define FASYNC                O_ASYNC
+# define FCREAT                O_CREAT
+# define FEXCL         O_EXCL
+# define FTRUNC                O_TRUNC
+# define FNOCTTY       O_NOCTTY
+# define FFSYNC                O_FSYNC
+# define FSYNC         O_SYNC
+# define FAPPEND       O_APPEND
+# define FNONBLOCK     O_NONBLOCK
+# define FNONBIO       O_NONBLOCK
+# define FNDELAY       O_NDELAY
 #endif
 
 /* Mask for file access modes.  This is system-dependent in case
 #define        F_SETFD         2       /* Set file descriptor flags.  */
 #define        F_GETFL         3       /* Get file status flags.  */
 #define        F_SETFL         4       /* Set file status flags.  */
-#ifdef __USE_BSD
-#define        F_GETOWN        23      /* Get owner (receiver of SIGIO).  */
-#define        F_SETOWN        24      /* Set owner (receiver of SIGIO).  */
+#if defined __USE_BSD || defined __USE_XOPEN2K
+# define F_GETOWN      23      /* Get owner (receiver of SIGIO).  */
+# define F_SETOWN      24      /* Set owner (receiver of SIGIO).  */
 #endif
 #define        F_GETLK         14      /* Get record locking info.  */
 #define        F_SETLK         6       /* Set record locking info (non-blocking).  */
 #define        F_SETLKW        7       /* Set record locking info (blocking).  */
 #ifdef __USE_SVID
-#define        F_ALLOCSP       10      /* Allocate space in the file.  */
-#define        F_FREESP        11      /* Free space in the file.  */
-#define        F_RGETLK        20      /* Get remote record locking info.  */
-#define        F_RSETLK        21      /* Set remote locking info (non-blocking).  */
-#define        F_RSETLKW       22      /* Set remote locking info (blocking).  */
+# define F_ALLOCSP     10      /* Allocate space in the file.  */
+# define F_FREESP      11      /* Free space in the file.  */
+# define F_RGETLK      20      /* Get remote record locking info.  */
+# define F_RSETLK      21      /* Set remote locking info (non-blocking).  */
+# define F_RSETLKW     22      /* Set remote locking info (blocking).  */
 #endif
 
 /* File descriptor flags used with F_GETFD and F_SETFD.  */
index 039a604b19c9f578f639d5e13c7022d52dbbf73a..048f53a1b552481806bf261d5ef1adcfef70da01 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1995-1999, 2000 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
@@ -74,7 +74,7 @@
 # define F_SETLKW64     13     /* Set record locking info (blocking).  */
 #endif
 
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN2K
 # define F_SETOWN      8       /* Get owner of socket (receiver of SIGIO).  */
 # define F_GETOWN      9       /* Set owner of socket (receiver of SIGIO).  */
 #endif
index 7081119a13169433164662b485cf4f7b822626f8..7184d08a4a6c939a74aa204c1aa7b845a2922067 100644 (file)
@@ -77,7 +77,7 @@
 #define F_SETLK64      8       /* Set record locking info (non-blocking).  */
 #define F_SETLKW64     9       /* Set record locking info (blocking).  */
 
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN2K
 # define F_SETOWN      5       /* Get owner of socket (receiver of SIGIO).  */
 # define F_GETOWN      6       /* Set owner of socket (receiver of SIGIO).  */
 #endif
index 9714b566f2613321c7f1c50b9cbc4faba09ec929..16a9f64c1720844ab165bbff07af7c68b506d42b 100644 (file)
@@ -74,7 +74,7 @@
 #define F_SETLK64      6       /* Set record locking info (non-blocking).  */
 #define F_SETLKW64     7       /* Set record locking info (blocking).  */
 
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN2K
 # define F_SETOWN      8       /* Get owner of socket (receiver of SIGIO).  */
 # define F_GETOWN      9       /* Set owner of socket (receiver of SIGIO).  */
 #endif
index b5db2b7fc4bfa668dc16d6ca57b67ab006bc225c..4e19bf14d546d8e1e008cb7d5f39aa6f47593c66 100644 (file)
@@ -74,7 +74,7 @@
 #define F_SETLK64      6       /* Set record locking info (non-blocking).  */
 #define F_SETLKW64     7       /* Set record locking info (blocking).  */
 
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN2K
 # define F_SETOWN      8       /* Get owner of socket (receiver of SIGIO).  */
 # define F_GETOWN      9       /* Set owner of socket (receiver of SIGIO).  */
 #endif
index 18035765b1f8ad610727848bcee90580e7e7b93c..189601c839510ac5d9676f3d1dfdd0d75b11d8b3 100644 (file)
@@ -75,7 +75,7 @@
 #define F_SETLK64      6       /* Set record locking info (non-blocking).  */
 #define F_SETLKW64     7       /* Set record locking info (blocking).  */
 
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN2K
 # define F_SETOWN      24      /* Get owner of socket (receiver of SIGIO).  */
 # define F_GETOWN      23      /* Set owner of socket (receiver of SIGIO).  */
 #endif
index efdf50ddb56e9bc7569d2b007754e64dfe659977..cee74b7c460848a81ed7a4acb0c65dbc12a0d095 100644 (file)
@@ -75,7 +75,7 @@
 #define F_SETFD                2       /* Set file descriptor flags.  */
 #define F_GETFL                3       /* Get file status flags.  */
 #define F_SETFL                4       /* Set file status flags.  */
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN2K
 # define F_GETOWN      5       /* Get owner of socket (receiver of SIGIO).  */
 # define F_SETOWN      6       /* Set owner of socket (receiver of SIGIO).  */
 #endif