PR 26698
* windmc.c (mc_unify_path): Fix typo checking character at end of
pathname.
+2020-10-05 Nick Clifton <nickc@redhat.com>
+
+ PR 26698
+ * windmc.c (mc_unify_path): Fix typo checking character at end of
+ pathname.
+
2020-10-05 Samanta Navarro <ferivoz@riseup.net>
* doc/binutils.texi: Fix spelling mistakes.
hsz = xmalloc (strlen (path) + 2);
strcpy (hsz, path);
end = hsz + strlen (hsz);
- if (hsz[-1] != '/' && hsz[-1] != '\\')
+ if (end[-1] != '/' && end[-1] != '\\')
strcpy (end, "/");
while ((end = strchr (hsz, '\\')) != NULL)
*end = '/';