(strip): Also allow comma which is what is used to separate options.
authorUlrich Drepper <drepper@redhat.com>
Tue, 10 Aug 2004 01:10:44 +0000 (01:10 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 10 Aug 2004 01:10:44 +0000 (01:10 +0000)
iconv/gconv_charset.h

index 31b545f..4a3db73 100644 (file)
@@ -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 == '/')
        {