about summary refs log tree commit diff
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
parentd09ca7fa0b7b2bfe5c8e6448a9c26744c173f454 (diff)
downloadglibc-05ef7021f046e0d4475ec5c4e4706585d7e800d4.tar.gz
glibc-05ef7021f046e0d4475ec5c4e4706585d7e800d4.tar.xz
glibc-05ef7021f046e0d4475ec5c4e4706585d7e800d4.zip
(strip): Also allow comma which is what is used to separate options.
-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 31b545f2e1..4a3db73118 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 == '/')
 	{