* io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,

broken by 2000-02-27 change.

	* sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
This commit is contained in:
Roland McGrath 2000-03-10 04:30:29 +00:00
parent 224a12bcb2
commit 07760b357c
4 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
* io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
broken by 2000-02-27 change.
* sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
2000-02-23 Roland McGrath <roland@baalperazim.frob.com> 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997 Free Software Foundation, Inc. /* Copyright (C) 1997,2000 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -29,6 +29,8 @@
/* Some aliases. */ /* Some aliases. */
#define POLLWRNORM POLLOUT #define POLLWRNORM POLLOUT
#define POLLRDNORM POLLIN
#define POLLRDBAND POLLPRI
/* 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

View File

@ -109,7 +109,7 @@ __BEGIN_DECLS
# ifdef __S_IFLNK # ifdef __S_IFLNK
# define S_IFLNK __S_IFLNK # define S_IFLNK __S_IFLNK
# endif # endif
# if (defined __USE_BSD || defined __USE_MISC) && !defined __S_IFSOCK # if (defined __USE_BSD || defined __USE_MISC) && defined __S_IFSOCK
# define S_IFSOCK __S_IFSOCK # define S_IFSOCK __S_IFSOCK
# endif # endif
#endif #endif

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997 Free Software Foundation, Inc. /* Copyright (C) 1997,2000 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -29,6 +29,8 @@
/* Some aliases. */ /* Some aliases. */
#define POLLWRNORM POLLOUT #define POLLWRNORM POLLOUT
#define POLLRDNORM POLLIN
#define POLLRDBAND POLLPRI
/* 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