aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.