Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaf26f28

Browse files
committed
Fix make_etags breakage on certain platforms.
make_etags produced wrong format TAGS files on platforms such as Mac,which uses non-Exuberant ctags.Author: Masahiko SawadaReviewed-by: Tatsuo IshiiBackpatch-through: 15Discussion:https://postgr.es/m/CAD21AoDmCqpS%2BU6b9Bc-b4OFx3tz%3DNv6O2KVkoVg7sHk60spjA%40mail.gmail.com
1 parentcc6974d commitaf26f28

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎src/tools/make_ctags

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ fi
3838
find`pwd`/ -type f -name'*.[chyl]' -print|
3939
xargs ctags -a -f tags"$FLAGS"
4040

41-
# Exuberant tags has a header that we cannot sort in with the other entries
42-
# so we skip the sort step
43-
# Why are we sorting this? I guess some tag implementation need this,
44-
# particularly for append mode. bjm 2012-02-24
45-
if [!"$IS_EXUBERANT" ]
41+
# Sorting non-Exuberant ctags file allows for fast searching of the tags file.
42+
# Since etags file has a header that we cannot sort in with the other entries
43+
# we skip the sort step.
44+
if [!"$IS_EXUBERANT"-a!"$EMACS_MODE" ]
4645
thenLC_ALL=C
4746
export LC_ALL
4847
sort tags>/tmp/$$&& mv /tmp/$$ tags

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp