From 39a1432c09fd0242a0c832b0db04b6a71adea254 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 19 May 2020 08:50:32 +0930 Subject: [PATCH] win32 typo fix PR 25713 * bfdio.c (_bfd_real_fopen): Typo fix. --- 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 + + PR 25713 + * bfdio.c (_bfd_real_fopen): Typo fix. + 2020-05-18 Nick Clifton 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] = '\\'; -- 2.30.2