aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-02-05 09:05:58 +0200
committerEli Zaretskii <eliz@gnu.org>2021-02-05 09:05:58 +0200
commit887854bae4a3b7b1edc0b2f75a2781a8c31ba805 (patch)
tree8b60db670763a3d4d4ab0697f47ce4c7e5809027
parent554c30abef121199d3b43061538c8233c8b33526 (diff)
downloadgdb-887854bae4a3b7b1edc0b2f75a2781a8c31ba805.zip
gdb-887854bae4a3b7b1edc0b2f75a2781a8c31ba805.tar.gz
gdb-887854bae4a3b7b1edc0b2f75a2781a8c31ba805.tar.bz2
Fix typos in comments added in PR 27252 fix
PR 27252 * elfedit.c (check_file): * bucomm.c (get_file_size): Fix typos in comments.
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/bucomm.c4
-rw-r--r--binutils/elfedit.c4
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 <eliz@gnu.org>
+
+ PR 27252
+ * elfedit.c (check_file):
+ * bucomm.c (get_file_size): Fix typos in comments.
+
2021-02-05 Alan Modra <amodra@gmail.com>
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))
{