mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
(main): Fix appending slashes if omit_invalid is true.
This commit is contained in:
parent
f7b94528be
commit
23054adeff
@ -166,7 +166,7 @@ main (int argc, char *argv[])
|
||||
|
||||
newp = (char *) alloca (errhand - to_code + nslash + 6 + 1);
|
||||
cp = mempcpy (newp, to_code, errhand - to_code);
|
||||
while (nslash > 0)
|
||||
while (nslash-- > 0)
|
||||
*cp++ = '/';
|
||||
memcpy (cp, "NEEDED", sizeof ("NEEDED"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user