This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11009] `nl_langinfo_l (item, LC_GLOBAL_LOCALE)' crashes
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Nov 2009 23:01:08 -0000
- Subject: [Bug libc/11009] `nl_langinfo_l (item, LC_GLOBAL_LOCALE)' crashes
- References: <20091123224038.11009.ludo@gnu.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jakub at redhat dot com 2009-11-23 23:01 -------
Note that locale.h description says that LC_GLOBAL_LOCALE is a special value for
use by the uselocale function. There is nothing that says it can be used in
other functions. If you want to query the global locale, why don't you just use
nl_langinfo instead of nl_langinfo_l?
You'd be requesting that isdigit_l (x, LC_GLOBAL_LOCALE) works next time, all
those macros/inclines then would need to special case that value.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11009
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.