Skip to content

Commit 99dfbef

Browse files
committed
hurd: Fix comments for FREAD and FWRITE
* bits/fcntl.h: Fix comment for FREAD and FWRITE. * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1 parent 406e7a0 commit 99dfbef

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
* malloc/malloc.c: Include <assert.h>.
2727
(assert): Do not define.
2828
[!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
29+
* bits/fcntl.h: Fix comment for FREAD and FWRITE.
30+
* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
2931

3032
2018-01-29 Darius Rad <[email protected]>
3133

bits/fcntl.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@
6363
#endif
6464

6565
#ifdef __USE_MISC
66-
/* Bits in the file status flags returned by F_GETFL.
67-
These are all the O_* flags, plus FREAD and FWRITE, which are
68-
independent bits set by which of O_RDONLY, O_WRONLY, and O_RDWR, was
69-
given to `open'. */
66+
/* Flags for TIOCFLUSH. */
7067
# define FREAD 1
7168
# define FWRITE 2
7269

sysdeps/mach/hurd/bits/fcntl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135

136136

137137
#ifdef __USE_MISC
138-
/* Bits in the file status flags returned by F_GETFL. */
138+
/* Flags for TIOCFLUSH. */
139139
# define FREAD O_RDONLY
140140
# define FWRITE O_WRONLY
141141

0 commit comments

Comments
 (0)