From: Ulrich Drepper Date: Tue, 10 Aug 2004 01:10:44 +0000 (+0000) Subject: (strip): Also allow comma which is what is used to separate options. X-Git-Tag: cvs/fedora-base~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05ef7021f046e0d4475ec5c4e4706585d7e800d4;p=thirdparty%2Fglibc.git (strip): Also allow comma which is what is used to separate options. --- diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h index 31b545f2e1e..4a3db731187 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 , 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 == '/') {