mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00: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