]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix comments for FREAD and FWRITE
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 29 Jan 2018 21:56:03 +0000 (22:56 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 29 Jan 2018 22:00:17 +0000 (23:00 +0100)
* bits/fcntl.h: Fix comment for FREAD and FWRITE.
* sysdeps/mach/hurd/bits/fcntl.h: Likewise.

ChangeLog
bits/fcntl.h
sysdeps/mach/hurd/bits/fcntl.h

index 579c4f306b8208551634142955309756be20a2d2..64b394354652ef9770b0be39742be26a74d3c158 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,8 @@
        * malloc/malloc.c: Include <assert.h>.
        (assert): Do not define.
        [!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>
 
index 7c62303829801a3d058314e05945b816bd91769c..671c9e6877753eb6fee8bd9cc179a52d4ebc41ba 100644 (file)
 #endif
 
 #ifdef __USE_MISC
-/* Bits in the file status flags returned by F_GETFL.
-   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'.  */
+/* Flags for TIOCFLUSH.  */
 # define FREAD         1
 # define FWRITE                2
 
index cb8a6ff5651edd61a94b4a43d425ef777fd06362..2cfaa872a5219eaaaee723e39f44b7a60ecd12f5 100644 (file)
 
 
 #ifdef __USE_MISC
-/* Bits in the file status flags returned by F_GETFL.  */
+/* Flags for TIOCFLUSH.  */
 # define FREAD         O_RDONLY
 # define FWRITE                O_WRONLY