about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-25 15:15:47 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-25 15:15:47 +0000
commitba508da3ad6c687cd618bd725b0269c1d024edeb (patch)
tree33f740320f988952d5b168143bd0400e47ef942f
parent82faa1779b37e23a143120d754562d8f50258b42 (diff)
downloadglibc-ba508da3ad6c687cd618bd725b0269c1d024edeb.tar.gz
glibc-ba508da3ad6c687cd618bd725b0269c1d024edeb.tar.xz
glibc-ba508da3ad6c687cd618bd725b0269c1d024edeb.zip
[BZ #4406]
2007-04-25  Ulrich Drepper  <drepper@redhat.com>
	[BZ #4406]
	* iconv/gconv_charset.h (strip): Allow ':'
	* iconv/iconv_open.c (iconv_open): Adjust comment.
-rw-r--r--ChangeLog6
-rw-r--r--iconv/iconv_open.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e1324c895a..770fb73be0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-25  Ulrich Drepper  <drepper@redhat.com>
+
+	[BZ #4406]
+	* iconv/gconv_charset.h (strip): Allow ':'
+	* iconv/iconv_open.c (iconv_open): Adjust comment.
+
 2007-04-25  Jakub Jelinek  <jakub@redhat.com>
 
 	* libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
diff --git a/iconv/iconv_open.c b/iconv/iconv_open.c
index e0f6135575..fc94fa5fe0 100644
--- a/iconv/iconv_open.c
+++ b/iconv/iconv_open.c
@@ -1,5 +1,5 @@
 /* Get descriptor for character set conversion.
-   Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1997,1998,1999,2000,2001,2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -38,7 +38,7 @@ iconv_open (const char *tocode, const char *fromcode)
   int res;
 
   /* Normalize the name.  We remove all characters beside alpha-numeric,
-     '_', '-', '/', and '.'.  */
+     '_', '-', '/', '.', and ':'.  */
   tocode_len = strlen (tocode);
   tocode_conv = (char *) alloca (tocode_len + 3);
   strip (tocode_conv, tocode);