1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

hurd: Fix comments for FREAD and FWRITE

* bits/fcntl.h: Fix comment for FREAD and FWRITE.
	* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
This commit is contained in:
Samuel Thibault
2018-01-29 22:56:03 +01:00
parent 406e7a0a47
commit 99dfbef48d
3 changed files with 4 additions and 5 deletions

View File

@ -26,6 +26,8 @@
* malloc/malloc.c: Include <assert.h>. * malloc/malloc.c: Include <assert.h>.
(assert): Do not define. (assert): Do not define.
[!defined NDEBUG] (__assert_fail): Define to __malloc_assert. [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
* bits/fcntl.h: Fix comment for FREAD and FWRITE.
* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
2018-01-29 Darius Rad <darius@bluespec.com> 2018-01-29 Darius Rad <darius@bluespec.com>

View File

@ -63,10 +63,7 @@
#endif #endif
#ifdef __USE_MISC #ifdef __USE_MISC
/* Bits in the file status flags returned by F_GETFL. /* Flags for TIOCFLUSH. */
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 FREAD 1
# define FWRITE 2 # define FWRITE 2

View File

@ -135,7 +135,7 @@
#ifdef __USE_MISC #ifdef __USE_MISC
/* Bits in the file status flags returned by F_GETFL. */ /* Flags for TIOCFLUSH. */
# define FREAD O_RDONLY # define FREAD O_RDONLY
# define FWRITE O_WRONLY # define FWRITE O_WRONLY