From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6729 invoked by alias); 25 Nov 2008 17:35:18 -0000 Received: (qmail 6678 invoked by uid 22791); 25 Nov 2008 17:35:18 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Nov 2008 17:34:35 +0000 Received: from d24relay01.br.ibm.com (unknown [9.8.31.16]) by igw3.br.ibm.com (Postfix) with ESMTP id B2AE4390042 for ; Tue, 25 Nov 2008 15:31:44 -0200 (BRDT) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mAPIXxDv3797086 for ; Tue, 25 Nov 2008 15:33:59 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mAPHYNOv025531 for ; Tue, 25 Nov 2008 15:34:23 -0200 Received: from [9.18.203.78] ([9.18.203.78]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id mAPHYNm6025527; Tue, 25 Nov 2008 15:34:23 -0200 Subject: Re: RFA: fix locale configure checks From: Thiago Jung Bauermann To: Tom Tromey Cc: gdb-patches@sourceware.org In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Date: Wed, 26 Nov 2008 03:04:00 -0000 Message-Id: <1227634462.11550.5.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00696.txt.bz2 El mar, 25-11-2008 a las 10:22 -0700, Tom Tromey escribió: > >>>>> "Tom" == Tom Tromey writes: > Tom> Today while exploring the charset code I happened to notice that gdb > Tom> never calls setlocale. > > Tom> The code is there, but configure never does the checks that might > Tom> define HAVE_LOCALE_H, HAVE_SETLOCALE, or HAVE_LC_MESSAGES. I just noticed that GDB sets LC_MESSAGES and LC_CTYPE. Do you or anybody know if there a reason that it doesn't set LC_ALL instead? -- []'s Thiago Jung Bauermann IBM Linux Technology Center