* win32 typo fix
@ 2020-05-19 1:14 Alan Modra
2020-05-19 9:05 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Alan Modra @ 2020-05-19 1:14 UTC (permalink / raw)
To: binutils
PR 25713
* bfdio.c (_bfd_real_fopen): Typo fix.
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index bba8d896d3..0133b76064 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] = '\\';
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: win32 typo fix
2020-05-19 1:14 win32 typo fix Alan Modra
@ 2020-05-19 9:05 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2020-05-19 9:05 UTC (permalink / raw)
To: Alan Modra, binutils
Hi Alan,
> - for (i = 0, fullpath[i]; i++)
> + for (i = 0; fullpath[i]; i++)
Doh! Thanks for the catch.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-19 9:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 1:14 win32 typo fix Alan Modra
2020-05-19 9:05 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).