win32 typo fix

PR 25713
	* bfdio.c (_bfd_real_fopen): Typo fix.
This commit is contained in:
Alan Modra 2020-05-19 08:50:32 +09:30
parent 3ecde59918
commit 39a1432c09
2 changed files with 6 additions and 1 deletions

View 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

View 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] = '\\';