From 3e6bd4b19888d355bd3fcb6a95caeda6f5279d45 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Fri, 8 Mar 2013 20:31:23 -0800 Subject: [PATCH] Set LC_ALL=C before sed. --- ChangeLog | 5 +++++ posix/Makefile | 4 ++-- 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 + + * posix/Makefile (testcases.h): Set LC_ALL=C before sed. + (ptestcases.h): Likewise. + 2013-03-08 Roland McGrath * 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.