From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6927 invoked by alias); 23 Nov 2009 23:01:25 -0000 Received: (qmail 1575 invoked by uid 48); 23 Nov 2009 23:01:08 -0000 Date: Mon, 23 Nov 2009 23:01:00 -0000 Message-ID: <20091123230108.1574.qmail@sourceware.org> From: "jakub at redhat dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20091123224038.11009.ludo@gnu.org> References: <20091123224038.11009.ludo@gnu.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/11009] `nl_langinfo_l (item, LC_GLOBAL_LOCALE)' crashes X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00150.txt.bz2 ------- 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.