projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b9452
)
(main): Fix appending slashes if omit_invalid is true.
author
Ulrich Drepper
<drepper@redhat.com>
Tue, 13 Jun 2000 18:22:02 +0000
(18:22 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Tue, 13 Jun 2000 18:22:02 +0000
(18:22 +0000)
iconv/iconv_prog.c
patch
|
blob
|
history
diff --git
a/iconv/iconv_prog.c
b/iconv/iconv_prog.c
index
56a2014
..
9c85b7c
100644
(file)
--- a/
iconv/iconv_prog.c
+++ b/
iconv/iconv_prog.c
@@
-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"));