head	1.4;
access;
symbols
	file-4_20:1.4
	rpm-4_4_8-release:1.3
	rpm-4_4_7-release:1.3
	rpm-4_4_6-release:1.3
	rpm-4_4_5-release:1.3
	rpm-4_4_4-release:1.3
	rpm-4_4_3-release:1.3
	file-4_16:1.3
	jbj_before_tklcpatches:1.3
	rpm-4_4_2-release:1.3
	file-4_14:1.3
	pjones-sparse-experiment:1.3.0.4
	rpm-4_4_1-release:1.3
	file-4_12:1.3
	rpm-4_4-release:1.3
	rpm-4_4:1.3.0.2
	file-4_10:1.3
	file-4_09:1.3
	rpm-file-before:1.2
	rpm42-file-before:1.2
	rpm43-file-before:1.2
	rpm-4_3_1-start:1.2
	rpm-4_3:1.2.0.4
	rpm-4_2:1.2.0.2;
locks; strict;
comment	@# @;


1.4
date	2007.05.09.19.38.34;	author jbj;	state Exp;
branches;
next	1.3;

1.3
date	2004.08.03.20.16.18;	author jbj;	state Exp;
branches;
next	1.2;

1.2
date	2003.04.15.20.04.26;	author jbj;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2003.04.15.16.58.35;	author jbj;	state Exp;
branches;
next	;

1.2.2.1
date	2003.12.01.21.20.02;	author jbj;	state Exp;
branches;
next	;

1.2.4.1
date	2004.12.07.00.57.38;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Virgin file-4.20.
@
text
@
#------------------------------------------------------------------------------
# c-lang:  file(1) magic for C programs (or REXX)
#

# 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

# 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

# From: Mikhail Teterin <mi@@aldan.algebra.com> 
0	string		cscope		cscope reference data
>7	string		x		version %.2s
# We skip the path here, because it is often long (so file will
# truncate it) and mostly redundant.
# 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)
@


1.3
log
@Upgrade to file-4.09.
@
text
@d23 2
a24 2
>>10	regex		.+\ -q\		with inverted index
>10	regex		.+\ -c\		text (non-compressed)
@


1.2
log
@Merge file-4.02 changes.
@
text
@d13 1
a13 1
0	string		//		C++ program text
@


1.2.4.1
log
@- port to internal file-4.10 libmagic rather than libfmagic.
@
text
@d13 1
a13 1
#0	string		//		C++ program text
@


1.2.2.1
log
@Merge from top-of-stack.
@
text
@@


1.1
log
@Move magic creation to sub-directory.
@
text
@d14 11
@

