(strip): Allow ':'
authorUlrich Drepper <drepper@redhat.com>
Wed, 25 Apr 2007 15:14:36 +0000 (15:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 25 Apr 2007 15:14:36 +0000 (15:14 +0000)
iconv/gconv_charset.h

index c18abec57871c4efa3d77101f65d964b09e0d8af..8882f4319ffe264ba44eff57efcccb5cb5ca27a7 100644 (file)
@@ -1,5 +1,5 @@
 /* Charset name normalization.
-   Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2001,2002,2003,2004,2005,2007 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_ptr)
-         || *s == '_' || *s == '-' || *s == '.' || *s == ',')
+         || *s == '_' || *s == '-' || *s == '.' || *s == ',' || *s == ':')
        *wp++ = __toupper_l (*s, _nl_C_locobj_ptr);
       else if (*s == '/')
        {