From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6872 invoked by alias); 12 Jul 2006 18:04:46 -0000 Received: (qmail 6856 invoked by uid 22791); 12 Jul 2006 18:04:45 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 12 Jul 2006 18:04:42 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1G0j4h-0006sJ-Ii; Wed, 12 Jul 2006 14:04:39 -0400 Date: Wed, 12 Jul 2006 18:04:00 -0000 From: Daniel Jacobowitz To: Mike Frysinger Cc: gdb-patches@sourceware.org Subject: Re: [patch] fix issues in some locales with using a-z Message-ID: <20060712180439.GF24622@nevyn.them.org> Mail-Followup-To: Mike Frysinger , gdb-patches@sourceware.org References: <200606220005.43029.vapier@gentoo.org> <20060706133243.GD18827@nevyn.them.org> <200607061412.17757.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200607061412.17757.vapier@gentoo.org> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00116.txt.bz2 On Thu, Jul 06, 2006 at 02:12:17PM -0400, Mike Frysinger wrote: > i copied and pasted from other files ... so yes, they should all be fixed, not > just the files i updated :) >From one other file... I'll do it myself :-) Tested, checked in. -- Daniel Jacobowitz CodeSourcery 2006-07-12 Mike Frysinger : Daniel Jacobowitz * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'. * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise. * gdbarch.sh: Correct comment. Index: Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/Makefile.in,v retrieving revision 1.825 diff -u -p -r1.825 Makefile.in --- Makefile.in 10 Jul 2006 19:40:27 -0000 1.825 +++ Makefile.in 12 Jul 2006 17:55:28 -0000 @@ -1151,7 +1151,9 @@ init.c: $(INIT_FILES) @rm -f init.c-tmp init.l-tmp @touch init.c-tmp @echo gdbtypes > init.l-tmp - @-echo $(INIT_FILES) | \ + @-LANG=c ; export LANG ; \ + LC_ALL=c ; export LC_ALL ; \ + echo $(INIT_FILES) | \ tr ' ' '\012' | \ sed \ -e '/^gdbtypes.[co]$$/d' \ Index: gdb_indent.sh =================================================================== RCS file: /cvs/src/src/gdb/gdb_indent.sh,v retrieving revision 1.9 diff -u -p -r1.9 gdb_indent.sh --- gdb_indent.sh 27 Sep 2004 13:43:37 -0000 1.9 +++ gdb_indent.sh 12 Jul 2006 17:55:28 -0000 @@ -3,6 +3,11 @@ # Try to find a GNU indent. There could be a BSD indent in front of a # GNU gindent so when indent is found, keep looking. +# Make certain that the script is not running in an internationalized +# environment. +LANG=c ; export LANG +LC_ALL=c ; export LC_ALL + gindent= indent= paths=`echo $PATH | sed \ Index: gdb_mbuild.sh =================================================================== RCS file: /cvs/src/src/gdb/gdb_mbuild.sh,v retrieving revision 1.9 diff -u -p -r1.9 gdb_mbuild.sh --- gdb_mbuild.sh 17 Dec 2005 22:33:59 -0000 1.9 +++ gdb_mbuild.sh 12 Jul 2006 17:55:28 -0000 @@ -22,6 +22,11 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, # Boston, MA 02111-1301, USA +# Make certain that the script is not running in an internationalized +# environment. +LANG=c ; export LANG +LC_ALL=c ; export LC_ALL + usage() { cat < " 1>&2