aboutsummaryrefslogtreecommitdiff
path: root/iconv/gconv_charset.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-08-10 01:10:44 +0000
committerUlrich Drepper <drepper@redhat.com>2004-08-10 01:10:44 +0000
commit05ef7021f046e0d4475ec5c4e4706585d7e800d4 (patch)
tree5ceb216d00656edbbc212b6be187407d136bfb78 /iconv/gconv_charset.h
parentd09ca7fa0b7b2bfe5c8e6448a9c26744c173f454 (diff)
downloadglibc-05ef7021f046e0d4475ec5c4e4706585d7e800d4.zip
glibc-05ef7021f046e0d4475ec5c4e4706585d7e800d4.tar.gz
glibc-05ef7021f046e0d4475ec5c4e4706585d7e800d4.tar.bz2
(strip): Also allow comma which is what is used to separate options.
Diffstat (limited to 'iconv/gconv_charset.h')
-rw-r--r--iconv/gconv_charset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h
index 31b545f..4a3db73 100644
--- a/iconv/gconv_charset.h
+++ b/iconv/gconv_charset.h
@@ -1,5 +1,5 @@
/* Charset name normalization.
- Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 2001.
@@ -30,7 +30,7 @@ strip (char *wp, const char *s)
while (*s != '\0')
{
if (__isalnum_l (*s, &_nl_C_locobj)
- || *s == '_' || *s == '-' || *s == '.')
+ || *s == '_' || *s == '-' || *s == '.' || *s == ',')
*wp++ = __toupper_l (*s, &_nl_C_locobj);
else if (*s == '/')
{