From: Todd C. Miller Date: Tue, 14 Oct 2014 14:54:23 +0000 (-0600) Subject: Set locale to C for visudo and testsudoers regression tests. X-Git-Tag: SUDO_1_8_12^2~151 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15f5af06d7335f6e6483a6fb8da7b3b230de5982;p=sudo Set locale to C for visudo and testsudoers regression tests. Bug #672 --- 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 + $$?`; \