public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15878] New: setlocale behavior shouldn't depend on the current locale
@ 2013-08-22 10:33 aoliva at sourceware dot org
  2014-06-05 14:46 ` [Bug libc/15878] " schwab@linux-m68k.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: aoliva at sourceware dot org @ 2013-08-22 10:33 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/15878] setlocale behavior shouldn't depend on the current locale
  2013-08-22 10:33 [Bug libc/15878] New: setlocale behavior shouldn't depend on the current locale aoliva at sourceware dot org
@ 2014-06-05 14:46 ` schwab@linux-m68k.org
  2014-06-13 13:05 ` fweimer at redhat dot com
  2015-08-27 22:16 ` [Bug locale/15878] " jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2014-06-05 14:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15878

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
The first issue has already been fixed long ago.  The latter isn't a real issue
as the locale.alias file isn't supposed to contain non-ASCII whitespace.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/15878] setlocale behavior shouldn't depend on the current locale
  2013-08-22 10:33 [Bug libc/15878] New: setlocale behavior shouldn't depend on the current locale aoliva at sourceware dot org
  2014-06-05 14:46 ` [Bug libc/15878] " schwab@linux-m68k.org
@ 2014-06-13 13:05 ` fweimer at redhat dot com
  2015-08-27 22:16 ` [Bug locale/15878] " jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 13:05 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15878

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug locale/15878] setlocale behavior shouldn't depend on the current locale
  2013-08-22 10:33 [Bug libc/15878] New: setlocale behavior shouldn't depend on the current locale aoliva at sourceware dot org
  2014-06-05 14:46 ` [Bug libc/15878] " schwab@linux-m68k.org
  2014-06-13 13:05 ` fweimer at redhat dot com
@ 2015-08-27 22:16 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:16 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15878

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libc                        |locale

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-27 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-22 10:33 [Bug libc/15878] New: setlocale behavior shouldn't depend on the current locale aoliva at sourceware dot org
2014-06-05 14:46 ` [Bug libc/15878] " schwab@linux-m68k.org
2014-06-13 13:05 ` fweimer at redhat dot com
2015-08-27 22:16 ` [Bug locale/15878] " jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).