mirror of git://sourceware.org/git/glibc.git
(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);
|
newp = (char *) alloca (errhand - to_code + nslash + 6 + 1);
|
||||||
cp = mempcpy (newp, to_code, errhand - to_code);
|
cp = mempcpy (newp, to_code, errhand - to_code);
|
||||||
while (nslash > 0)
|
while (nslash-- > 0)
|
||||||
*cp++ = '/';
|
*cp++ = '/';
|
||||||
memcpy (cp, "NEEDED", sizeof ("NEEDED"));
|
memcpy (cp, "NEEDED", sizeof ("NEEDED"));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue