about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2013-03-08 20:31:23 -0800
committerPaul Pluzhnikov <ppluzhnikov@google.com>2013-03-08 20:31:23 -0800
commit3e6bd4b19888d355bd3fcb6a95caeda6f5279d45 (patch)
tree1206d113296f5037bd4b195040556f5aee006283
parent222d7f00a4f72ac1e1ae0bf479d003f00d16d0ce (diff)
downloadglibc-3e6bd4b19888d355bd3fcb6a95caeda6f5279d45.tar.gz
glibc-3e6bd4b19888d355bd3fcb6a95caeda6f5279d45.tar.xz
glibc-3e6bd4b19888d355bd3fcb6a95caeda6f5279d45.zip
Set LC_ALL=C before sed.
-rw-r--r--ChangeLog5
-rw-r--r--posix/Makefile4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d07f5e2ac2..5739f8a926 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* posix/Makefile (testcases.h): Set LC_ALL=C before sed.
+	(ptestcases.h): Likewise.
+
 2013-03-08  Roland McGrath  <roland@hack.frob.com>
 
 	* Makeconfig ($(common-objpfx)config.status): Depend on
diff --git a/posix/Makefile b/posix/Makefile
index 658c47e705..a728630203 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -210,11 +210,11 @@ bug-glob1-ARGS = "$(objpfx)"
 tst-execvp3-ARGS = --test-dir=$(objpfx)
 
 testcases.h: TESTS TESTS2C.sed
-	sed -f TESTS2C.sed < $< > $@T
+	LC_ALL=C sed -f TESTS2C.sed < $< > $@T
 	mv -f $@T $@
 
 ptestcases.h: PTESTS PTESTS2C.sed
-	sed -f PTESTS2C.sed < $< > $@T
+	LC_ALL=C sed -f PTESTS2C.sed < $< > $@T
 	mv -f $@T $@
 
 # Run a test on the header files we use.