[binutils-gdb] win32 typo fix
Alan Modra
amodra@sourceware.org
Tue May 19 01:23:45 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=39a1432c09fd0242a0c832b0db04b6a71adea254
commit 39a1432c09fd0242a0c832b0db04b6a71adea254
Author: Alan Modra <amodra@gmail.com>
Date: Tue May 19 08:50:32 2020 +0930
win32 typo fix
PR 25713
* bfdio.c (_bfd_real_fopen): Typo fix.
Diff:
---
bfd/ChangeLog | 5 +++++
bfd/bfdio.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6b3c94b39f8..3926bd1005b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2020-05-19 Alan Modra <amodra@gmail.com>
+
+ PR 25713
+ * bfdio.c (_bfd_real_fopen): Typo fix.
+
2020-05-18 Nick Clifton <nickc@redhat.com>
PR 26005
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index bba8d896d3a..0133b76064a 100644
--- a/bfd/bfdio.c
+++ b/bfd/bfdio.c
@@ -130,7 +130,7 @@ _bfd_real_fopen (const char *filename, const char *modes)
strcat (fullpath, filename);
/* Convert any UNIX style path separators into the DOS form. */
- for (i = 0, fullpath[i]; i++)
+ for (i = 0; fullpath[i]; i++)
{
if (IS_UNIX_DIR_SEPARATOR (fullpath[i]))
fullpath[i] = '\\';
More information about the Binutils-cvs
mailing list