Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] fix issues in some locales with using a-z
Date: Wed, 12 Jul 2006 18:04:00 -0000	[thread overview]
Message-ID: <20060712180439.GF24622@nevyn.them.org> (raw)
In-Reply-To: <200607061412.17757.vapier@gentoo.org>

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  <vapier@gentoo.org>:
	    Daniel Jacobowitz  <dan@codesourcery.com>

	* 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 <<EOF
Index: gdbarch.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.sh,v
retrieving revision 1.364
diff -u -p -r1.364 gdbarch.sh
--- gdbarch.sh	18 Apr 2006 19:20:06 -0000	1.364
+++ gdbarch.sh	12 Jul 2006 17:55:28 -0000
@@ -22,7 +22,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor,
 # Boston, MA 02110-1301, USA.
 
-# Make certain that the script is running in an internationalized
+# Make certain that the script is not running in an internationalized
 # environment.
 LANG=c ; export LANG
 LC_ALL=c ; export LC_ALL
Index: observer.sh
===================================================================
RCS file: /cvs/src/src/gdb/observer.sh,v
retrieving revision 1.9
diff -u -p -r1.9 observer.sh
--- observer.sh	17 Dec 2005 22:34:01 -0000	1.9
+++ observer.sh	12 Jul 2006 17:55:28 -0000
@@ -1,5 +1,10 @@
 #!/bin/sh -e
 
+# Make certain that the script is not running in an internationalized
+# environment.
+LANG=c ; export LANG
+LC_ALL=c ; export LC_ALL
+
 if test $# -ne 3
 then
     echo "Usage: $0 <h|inc> <observer.texi> <observer.out>" 1>&2


  reply	other threads:[~2006-07-12 18:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22  4:00 Mike Frysinger
2006-07-06 13:32 ` Daniel Jacobowitz
2006-07-06 18:12   ` Mike Frysinger
2006-07-12 18:04     ` Daniel Jacobowitz [this message]
2006-07-13  3:48       ` Mike Frysinger
2006-06-23  0:06 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060712180439.GF24622@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox