This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15878] New: setlocale behavior shouldn't depend on the current locale
- From: "aoliva at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 22 Aug 2013 10:33:26 +0000
- Subject: [Bug libc/15878] New: setlocale behavior shouldn't depend on the current locale
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15878
Bug ID: 15878
Summary: setlocale behavior shouldn't depend on the current
locale
Product: glibc
Version: 2.18
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: aoliva at sourceware dot org
CC: drepper.fsp at gmail dot com
alias_compare calls strcasecmp instead of using the C locale, so the behavior
of setlocale WRT alias comparison will depend on what the active locale is.
read_alias_file, one of the functions that calls the above, also calls isspace
while parsing the alias file, which again brings in locale-dependent behavior
into what locale will become effective.
--
You are receiving this mail because:
You are on the CC list for the bug.