From patchwork Mon Jan 29 22:00:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 25680 Received: (qmail 74455 invoked by alias); 29 Jan 2018 22:09:35 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 74361 invoked by uid 89); 29 Jan 2018 22:09:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 6/6] hurd: Fix comments for FREAD and FWRITE Date: Mon, 29 Jan 2018 23:00:48 +0100 Message-Id: <20180129220048.28097-7-samuel.thibault@ens-lyon.org> In-Reply-To: <20180129220048.28097-1-samuel.thibault@ens-lyon.org> References: <20180129220048.28097-1-samuel.thibault@ens-lyon.org> * bits/fcntl.h: Fix comment for FREAD and FWRITE. * sysdeps/mach/hurd/bits/fcntl.h: Likewise. --- ChangeLog | 2 ++ bits/fcntl.h | 5 +---- sysdeps/mach/hurd/bits/fcntl.h | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index c6bcba65dd..f74082f4cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,8 @@ * malloc/malloc.c: Include . (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 diff --git a/bits/fcntl.h b/bits/fcntl.h index 7c62303829..671c9e6877 100644 --- a/bits/fcntl.h +++ b/bits/fcntl.h @@ -63,10 +63,7 @@ #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 diff --git a/sysdeps/mach/hurd/bits/fcntl.h b/sysdeps/mach/hurd/bits/fcntl.h index cb8a6ff565..2cfaa872a5 100644 --- a/sysdeps/mach/hurd/bits/fcntl.h +++ b/sysdeps/mach/hurd/bits/fcntl.h @@ -135,7 +135,7 @@ #ifdef __USE_MISC -/* Bits in the file status flags returned by F_GETFL. */ +/* Flags for TIOCFLUSH. */ # define FREAD O_RDONLY # define FWRITE O_WRONLY