mirror of git://sourceware.org/git/glibc.git
* conform/conformtest.pl (checknamespace): Sort the output list.
* sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these definitions conditional on [__USE_XOPEN]. * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define these unconditionally, not only use [__USE_BSD], so as to match the sysdeps/unix/sysv/linux files.
This commit is contained in:
parent
d902256754
commit
8179dcc108
12
ChangeLog
12
ChangeLog
|
|
@ -1,3 +1,15 @@
|
||||||
|
2001-08-22 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
|
* conform/conformtest.pl (checknamespace): Sort the output list.
|
||||||
|
|
||||||
|
* sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
|
||||||
|
(POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
|
||||||
|
definitions conditional on [__USE_XOPEN].
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
|
||||||
|
these unconditionally, not only use [__USE_BSD], so as to match
|
||||||
|
the sysdeps/unix/sysv/linux files.
|
||||||
|
|
||||||
2001-08-22 Ulrich Drepper <drepper@redhat.com>
|
2001-08-22 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
|
* test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
|
||||||
|
|
|
||||||
11
bits/poll.h
11
bits/poll.h
|
|
@ -27,10 +27,13 @@
|
||||||
#define POLLPRI 02 /* There is urgent data to read. */
|
#define POLLPRI 02 /* There is urgent data to read. */
|
||||||
#define POLLOUT 04 /* Writing now will not block. */
|
#define POLLOUT 04 /* Writing now will not block. */
|
||||||
|
|
||||||
/* Some aliases. */
|
#ifdef __USE_XOPEN
|
||||||
#define POLLWRNORM POLLOUT
|
/* These values are defined in XPG4.2. */
|
||||||
#define POLLRDNORM POLLIN
|
# define POLLRDNORM POLLIN /* Normal data may be read. */
|
||||||
#define POLLRDBAND POLLPRI
|
# define POLLRDBAND POLLPRI /* Priority data may be read. */
|
||||||
|
# define POLLWRNORM POLLOUT /* Writing now will not block. */
|
||||||
|
# define POLLWRBAND POLLOUT /* Priority data may be written. */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Event types always implicitly polled for. These bits need not be set in
|
/* Event types always implicitly polled for. These bits need not be set in
|
||||||
`events', but they will appear in `revents' to indicate the status of
|
`events', but they will appear in `revents' to indicate the status of
|
||||||
|
|
|
||||||
|
|
@ -27,10 +27,13 @@
|
||||||
#define POLLPRI 02 /* There is urgent data to read. */
|
#define POLLPRI 02 /* There is urgent data to read. */
|
||||||
#define POLLOUT 04 /* Writing now will not block. */
|
#define POLLOUT 04 /* Writing now will not block. */
|
||||||
|
|
||||||
/* Some aliases. */
|
#ifdef __USE_XOPEN
|
||||||
#define POLLWRNORM POLLOUT
|
/* These values are defined in XPG4.2. */
|
||||||
#define POLLRDNORM POLLIN
|
# define POLLRDNORM POLLIN /* Normal data may be read. */
|
||||||
#define POLLRDBAND POLLPRI
|
# define POLLRDBAND POLLPRI /* Priority data may be read. */
|
||||||
|
# define POLLWRNORM POLLOUT /* Writing now will not block. */
|
||||||
|
# define POLLWRBAND POLLOUT /* Priority data may be written. */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Event types always implicitly polled for. These bits need not be set in
|
/* Event types always implicitly polled for. These bits need not be set in
|
||||||
`events', but they will appear in `revents' to indicate the status of
|
`events', but they will appear in `revents' to indicate the status of
|
||||||
|
|
|
||||||
|
|
@ -65,11 +65,9 @@
|
||||||
returned by `fcntl' with the F_GETFL command. */
|
returned by `fcntl' with the F_GETFL command. */
|
||||||
|
|
||||||
#define O_APPEND 0x0100 /* Writes always append to the file. */
|
#define O_APPEND 0x0100 /* Writes always append to the file. */
|
||||||
#ifdef __USE_BSD
|
#define O_ASYNC 0x0200 /* Send SIGIO to owner when data is ready. */
|
||||||
# define O_ASYNC 0x0200 /* Send SIGIO to owner when data is ready. */
|
#define O_FSYNC 0x0400 /* Synchronous writes. */
|
||||||
# define O_FSYNC 0x0400 /* Synchronous writes. */
|
#define O_SYNC O_FSYNC
|
||||||
# define O_SYNC O_FSYNC
|
|
||||||
#endif
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define O_NOATIME 0x0800 /* Don't set access time on read (owner). */
|
# define O_NOATIME 0x0800 /* Don't set access time on read (owner). */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue