This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/15878] New: setlocale behavior shouldn't depend on the current locale


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]