win32 typo fix
authorAlan Modra <amodra@gmail.com>
Mon, 18 May 2020 23:20:32 +0000 (08:50 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 19 May 2020 01:21:04 +0000 (10:51 +0930)
PR 25713
* bfdio.c (_bfd_real_fopen): Typo fix.

bfd/ChangeLog
bfd/bfdio.c

index 6b3c94b39f8eef1b51868c2c47b907ecd64f4650..3926bd1005ba7ee66b01850a525fb6e03b689b2a 100644 (file)
@@ -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
index bba8d896d3a7849a8fd7449dec923b72a11458b0..0133b76064a6f6c94f4763989799c154e01e756c 100644 (file)
@@ -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] = '\\';