-
Notifications
You must be signed in to change notification settings - Fork 2
/
magic.diff
21 lines (18 loc) · 849 Bytes
/
magic.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This file contains a patch to the Linux file /usr/share/magic which will
allow the "file" command to properly identify tags file producted by
Exuberant Ctags. To apply the patch, issue the following command as root:
patch -p0 < magic.diff
*** /usr/share/magic.orig Wed Feb 16 19:04:09 2000
--- /usr/share/magic Mon Aug 14 20:27:01 2000
***************
*** 1155,1160 ****
--- 1155,1164 ----
>84 belong&0x18000000 =0x18000000 undefined fpmode
#------------------------------------------------------------------------------
+ # ctags: file (1) magic for Exuberant Ctags files
+ 0 string !_TAG Exuberant Ctags tag file
+
+ #------------------------------------------------------------------------------
# database: file(1) magic for various databases
#
# extracted from header/code files by Graeme Wilford ([email protected])