From c1658b21cb7c0d9d6455c3c2d1213b9421c480da Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 29 Sep 2016 22:33:02 +0200 Subject: [PATCH] Issue #28258: Explain the LC_ALL change in a comment --- Makefile.pre.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.pre.in b/Makefile.pre.in index 87db1a40876..f745b15190f 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1419,6 +1419,10 @@ distclean: clobber Modules/ld_so_aix Modules/python.exp Misc/python.pc -rm -f python*-gdb.py -rm -f pybuilddir.txt + # Issue #28258: set LC_ALL to avoid issues with Estonian locale. + # Expansion is performed here by shell (spawned by make) itself before + # arguments are passed to find. So LC_ALL=C must be set as a separate + # command. LC_ALL=C; find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \ -o -name '[@,#]*' -o -name '*.old' \ -o -name '*.orig' -o -name '*.rej' \