From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12953 invoked by alias); 17 Apr 2002 19:09:29 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 12895 invoked from network); 17 Apr 2002 19:09:26 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 17 Apr 2002 19:09:26 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 16xuoO-0000aZ-00; Wed, 17 Apr 2002 15:09:48 -0400 Date: Wed, 17 Apr 2002 12:09:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/obish] Internationalize gdbarch.sh Message-ID: <20020417150948.A2169@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb-patches@sources.redhat.com References: <3CBDC4AB.1060500@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CBDC4AB.1060500@cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-04/txt/msg00560.txt.bz2 On Wed, Apr 17, 2002 at 02:53:31PM -0400, Andrew Cagney wrote: > Finally figured out why the GNU/Linux system I was using couldn't > reproduce gdbarch.[hc]. I guess I need to remember that GNU/Linux isn't > UNIX :-) > > Committed. > Andrew I think you want to set LC_ALL, also. That's the appropriate hook for something that needs to force an environment. Also, did you mean "is not running in"? > 2002-04-17 Andrew Cagney > > * gdbarch.sh (LANG): Set to ``c''. > > Index: gdbarch.sh > =================================================================== > RCS file: /cvs/src/src/gdb/gdbarch.sh,v > retrieving revision 1.125 > diff -u -r1.125 gdbarch.sh > --- gdbarch.sh 10 Apr 2002 22:00:20 -0000 1.125 > +++ gdbarch.sh 17 Apr 2002 18:41:56 -0000 > @@ -19,6 +19,11 @@ > # along with this program; if not, write to the Free Software > # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. > > +# Make certain that the script is running in an internationalized > +# environment. > +LANG=c ; export LANG > + > + > compare_new () > { > file=$1 -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer