about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-25 15:14:36 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-25 15:14:36 +0000
commit82faa1779b37e23a143120d754562d8f50258b42 (patch)
treed41f6dbb05456d1b9614e00c9eda252587f89c1b
parent9c8d03d952674f521d444955307e3fefdef71c7f (diff)
downloadglibc-82faa1779b37e23a143120d754562d8f50258b42.tar.gz
glibc-82faa1779b37e23a143120d754562d8f50258b42.tar.xz
glibc-82faa1779b37e23a143120d754562d8f50258b42.zip
(strip): Allow ':'
-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 c18abec578..8882f4319f 100644
--- a/iconv/gconv_charset.h
+++ b/iconv/gconv_charset.h
@@ -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 == '/')
 	{