Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Fix invalid locale
@ 2009-03-29 14:53 Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2009-03-29 14:53 UTC (permalink / raw)
  To: gdb-patches

Bash 4.0 complains when trying to set an invalid locale.  Committed as
obvious.

Andreas.

2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>

	* observer.sh: Set LANG/LC_ALL to C, not c.

--- gdb/observer.sh.~1.17.~	2009-01-03 13:50:17.000000000 +0100
+++ gdb/observer.sh	2009-03-29 15:29:12.000000000 +0200
@@ -2,8 +2,8 @@
 
 # Make certain that the script is not running in an internationalized
 # environment.
-LANG=c ; export LANG
-LC_ALL=c ; export LC_ALL
+LANG=C ; export LANG
+LC_ALL=C ; export LC_ALL
 
 if test $# -ne 3
 then

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Fix invalid locale
@ 2009-01-09 21:15 Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2009-01-09 21:15 UTC (permalink / raw)
  To: gdb-patches

With bash 4.0 you'll get a warning about the failure to set the c
locale.  The proper spelling of the C locale is "C".  Committed as
obvious.

Andreas.

2009-01-09  Andreas Schwab  <schwab@suse.de>

	* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.

--- gdb/Makefile.in.~1.1062.~	2009-01-03 13:49:55.000000000 +0100
+++ gdb/Makefile.in	2009-01-09 22:10:23.000000000 +0100
@@ -1011,8 +1011,8 @@ init.c: $(INIT_FILES)
 	@rm -f init.c-tmp init.l-tmp
 	@touch init.c-tmp
 	@echo gdbtypes > init.l-tmp
-	@-LANG=c ; export LANG ; \
-	LC_ALL=c ; export LC_ALL ; \
+	@-LANG=C ; export LANG ; \
+	LC_ALL=C ; export LC_ALL ; \
 	echo $(INIT_FILES) | \
 	tr ' ' '\012' | \
 	sed \

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-29 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-29 14:53 Fix invalid locale Andreas Schwab
  -- strict thread matches above, loose matches on Subject: below --
2009-01-09 21:15 Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox