From cf0ac6a71ae51249a05521f49c1a0fabbb948488 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 17 Aug 2016 13:58:12 +0200 Subject: [PATCH] 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. --- Makefile.pre.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 2101e70f35..105481aff4 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:: -- 2.40.0