Commit cf0ac6a7 authored by Victor Stinner's avatar Victor Stinner

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.
parent 9c4bfa66
......@@ -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::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment