From: Victor Stinner Date: Wed, 17 Aug 2016 11:58:12 +0000 (+0200) Subject: Fix "make tags": set locale to C to call sort X-Git-Tag: v3.6.0b1~687 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf0ac6a71ae51249a05521f49c1a0fabbb948488;p=thirdparty%2FPython%2Fcpython.git Fix "make tags": set locale to C to call sort vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. Issue #27726. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 2101e70f351a..105481aff46f 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1566,7 +1566,7 @@ tags:: ctags -w Include/*.h; \ for i in $(SRCDIRS); do ctags -w -a $$i/*.[ch]; \ done; \ - sort -o tags tags + LC_ALL=C sort -o tags tags # Create a tags file for GNU Emacs TAGS::