cpython: cbe87a9a0cf2 (original) (raw)

Mercurial > cpython

changeset 102725:cbe87a9a0cf2

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. [#27726]

Victor Stinner victor.stinner@gmail.com
date Wed, 17 Aug 2016 13:58:12 +0200
parents 8455902b3b8e
children 2fce793ec0a2
files Makefile.pre.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Makefile.pre.in 2

line wrap: on

line diff

--- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1566,7 +1566,7 @@ tags:: ctags -w Include/.h; [](#l1.4) for i in (SRCDIRS);doctags−w−a(SRCDIRS); do ctags -w -a (SRCDIRS);doctagswa$i/.[ch]; [](#l1.5) done; [](#l1.6) - sort -o tags tags + LC_ALL=C sort -o tags tags

Create a tags file for GNU Emacs

TAGS::