summaryrefslogtreecommitdiffstats
path: root/contrib/file/Magdir/c-lang
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2009-01-02 03:10:55 +0000
committerobrien <obrien@FreeBSD.org>2009-01-02 03:10:55 +0000
commit729acffa050ba99227c27884a5760fdd3d6959b2 (patch)
treed5289d633f1b84fbbf947f98b34ff58109fccca7 /contrib/file/Magdir/c-lang
parent964611a3050b11c026667dbb4ae98380fe18252a (diff)
parent05dd1f1bd993ec12015e6782ea5c46b6a0b69ecb (diff)
downloadFreeBSD-src-729acffa050ba99227c27884a5760fdd3d6959b2.zip
FreeBSD-src-729acffa050ba99227c27884a5760fdd3d6959b2.tar.gz
Record that base/vendor/file/dist@186675 was merged.
Merge base/vendor/file/dist@186675@186690, bringing FILE 4.26 to 8-CURRENT.
Diffstat (limited to 'contrib/file/Magdir/c-lang')
-rw-r--r--contrib/file/Magdir/c-lang13
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/file/Magdir/c-lang b/contrib/file/Magdir/c-lang
index fd3f9aa..895e37f 100644
--- a/contrib/file/Magdir/c-lang
+++ b/contrib/file/Magdir/c-lang
@@ -1,4 +1,3 @@
-
#------------------------------------------------------------------------------
# c-lang: file(1) magic for C programs (or REXX)
#
@@ -6,11 +5,15 @@
# XPM icons (Greg Roelofs, newt@uchicago.edu)
# if you uncomment "/*" for C/REXX below, also uncomment this entry
#0 string /*\ XPM\ */ X pixmap image data
+#!:mime image/x-xpmi
+
+# 3DS (3d Studio files) Conflicts with diff output 0x3d '='
+#16 beshort 0x3d3d image/x-3ds
# this first will upset you if you're a PL/1 shop...
# in which case rm it; ascmagic will catch real C programs
-#0 string /* C or REXX program text
-#0 string // C++ program text
+#0 search/1 /* C or REXX program text
+#0 search/1 // C++ program text
# From: Mikhail Teterin <mi@aldan.algebra.com>
0 string cscope cscope reference data
@@ -20,5 +23,5 @@
# The inverted index functionality was added some time betwen
# versions 11 and 15, so look for -q if version is above 14:
>7 string >14
->>10 regex .+\ -q\ with inverted index
->10 regex .+\ -c\ text (non-compressed)
+>>10 search/100 \ -q\ with inverted index
+>10 search/100 \ -c\ text (non-compressed)
OpenPOWER on IntegriCloud