projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b33f0
)
* iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
author
Andreas Jaeger
<aj@suse.de>
Fri, 23 Jun 2000 16:24:55 +0000
(16:24 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Fri, 23 Jun 2000 16:24:55 +0000
(16:24 +0000)
iconv/gconv_int.h
patch
|
blob
|
history
diff --git
a/iconv/gconv_int.h
b/iconv/gconv_int.h
index
44d4d36
..
8333a21
100644
(file)
--- a/
iconv/gconv_int.h
+++ b/
iconv/gconv_int.h
@@
-129,7
+129,7
@@
extern struct gconv_module *__gconv_modules_db;
char *result; \
char *tmp; \
size_t cnt = 0; \
- size_t suffix_len =
suffix == NULL ? 0 : strlen (suffix);
\
+ size_t suffix_len =
(suffix) == NULL ? 0 : strlen (suffix);
\
\
while (*cp != '\0') \
if (*cp++ == '/') \