From 887854bae4a3b7b1edc0b2f75a2781a8c31ba805 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 5 Feb 2021 09:05:58 +0200 Subject: Fix typos in comments added in PR 27252 fix PR 27252 * elfedit.c (check_file): * bucomm.c (get_file_size): Fix typos in comments. --- binutils/ChangeLog | 6 ++++++ binutils/bucomm.c | 4 ++-- binutils/elfedit.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index dd4d7f1..b468e5b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2021-02-05 Eli Zaretskii + + PR 27252 + * elfedit.c (check_file): + * bucomm.c (get_file_size): Fix typos in comments. + 2021-02-05 Alan Modra PR 27345 diff --git a/binutils/bucomm.c b/binutils/bucomm.c index 0499007..a834ab1 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -626,8 +626,8 @@ get_file_size (const char * file_name) #if defined (_WIN32) && !defined (__CYGWIN__) else if (statbuf.st_size == 0) { - /* MS-Windows 'stat' doesn't reports the null device as a - regular file; fix that. */ + /* MS-Windows 'stat' reports the null device as a regular file; + fix that. */ int fd = open (file_name, O_RDONLY | O_BINARY); if (isatty (fd)) { diff --git a/binutils/elfedit.c b/binutils/elfedit.c index 260abe0..07d288c 100644 --- a/binutils/elfedit.c +++ b/binutils/elfedit.c @@ -724,8 +724,8 @@ check_file (const char *file_name, struct stat *statbuf_p) #if defined (_WIN32) && !defined (__CYGWIN__) else if (statbuf_p->st_size == 0) { - /* MS-Windows 'stat' doesn't reports the null device as a - regular file; fix that. */ + /* MS-Windows 'stat' reports the null device as a regular file; + fix that. */ int fd = open (file_name, O_RDONLY | O_BINARY); if (isatty (fd)) { -- cgit v1.1