mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
(strip): Also allow comma which is what is used to separate options.
This commit is contained in:
parent
d09ca7fa0b
commit
05ef7021f0
@ -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 == '/')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user