aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))
{