From 15f5af06d7335f6e6483a6fb8da7b3b230de5982 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 14 Oct 2014 08:54:23 -0600 Subject: [PATCH] Set locale to C for visudo and testsudoers regression tests. Bug #672 --- plugins/sudoers/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in index 6fce1a49c..d67681271 100644 --- a/plugins/sudoers/Makefile.in +++ b/plugins/sudoers/Makefile.in @@ -342,6 +342,8 @@ cppcheck: check: $(TEST_PROGS) visudo testsudoers @if test X"$(cross_compiling)" != X"yes"; then \ + LC_ALL=C; export LC_ALL; \ + unset LANG=; \ rval=0; \ mkdir -p regress/parser; \ ./check_addr $(srcdir)/regress/parser/check_addr.in || rval=`expr $$rval + $$?`; \