head	1.3;
access;
symbols
	file-4_20:1.3
	rpm-4_4_8-release:1.1.6.1
	rpm-4_4_7-release:1.1.6.1
	rpm-4_4_6-release:1.1.6.1
	rpm-4_4_5-release:1.1.6.1
	rpm-4_4_4-release:1.1.6.1
	rpm-4_4_3-release:1.1.6.1
	file-4_16:1.2
	jbj_before_tklcpatches:1.1.6.1
	rpm-4_4_2-release:1.1.6.1
	file-4_14:1.2
	pjones-sparse-experiment:1.1.0.8
	rpm-4_4_1-release:1.1
	file-4_12:1.1
	rpm-4_4-release:1.1
	rpm-4_4:1.1.0.6
	file-4_10:1.1
	file-4_09:1.1
	rpm-file-before:1.1
	rpm42-file-before:1.1
	rpm43-file-before:1.1
	rpm-4_3_1-start:1.1
	rpm-4_3:1.1.0.4
	rpm-4_2:1.1.0.2;
locks; strict;
comment	@# @;


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

1.2
date	2005.07.16.21.06.33;	author jbj;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.15.20.04.26;	author jbj;	state Exp;
branches
	1.1.2.1
	1.1.6.1;
next	;

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

1.1.6.1
date	2005.07.17.14.55.57;	author jbj;	state Exp;
branches;
next	1.1.6.2;

1.1.6.2
date	2007.05.10.17.39.23;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Virgin file-4.20.
@
text
@
#------------------------------------------------------------------------------
# sql:  file(1) magic for SQL files
#
# From: "Marty Leisner" <mleisner@@eng.mc.xerox.com>
# Recognize some MySQL files.
#
0	beshort			0xfe01		MySQL table definition file
>2	byte			x		Version %d
0	belong&0xffffff00	0xfefe0300	MySQL MISAM index file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0700	MySQL MISAM compressed data file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0500	MySQL ISAM index file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0600	MySQL ISAM compressed data file
>3	byte			x		Version %d
0	string		 	\376bin		MySQL replication log

#------------------------------------------------------------------------------
# iRiver H Series database file 
# From Ken Guest <ken@@linux.ie>
# As observed from iRivNavi.iDB and unencoded firmware
#
0   string		iRivDB	iRiver Database file
>11  string	>\0	Version %s
>39  string		iHP-100	[H Series]

#------------------------------------------------------------------------------
# SQLite database files
# Ken Guest <ken@@linux.ie>, Ty Sarna, Zack Weinberg
#
# Version 1 used GDBM internally; its files cannot be distinguished
# from other GDBM files.
#
# Version 2 used this format:
0	string	**\ This\ file\ contains\ an\ SQLite  SQLite 2.x database

# Version 3 of SQLite allows applications to embed their own "user version"
# number in the database.  Detect this and distinguish those files.

0   string  SQLite\ format\ 3
>60 string  _MTN               Monotone source repository
>60 belong  !0                 SQLite 3.x database, user version %u
>60 belong  0                  SQLite 3.x database
@


1.2
log
@Update to virgin file-4.14.
@
text
@d30 2
a31 2
# SQLite database file 
# From Ken Guest <ken@@linux.ie>
d33 13
a45 2
0   string  SQLite  SQLite database
>14 string >\0  (Version %s)
@


1.1
log
@Merge file-4.02 changes.
@
text
@d19 16
@


1.1.6.1
log
@- upgrade to file-4.14 internal.
@
text
@a18 16

#------------------------------------------------------------------------------
# iRiver H Series database file 
# From Ken Guest <ken@@linux.ie>
# As observed from iRivNavi.iDB and unencoded firmware
#
0   string		iRivDB	iRiver Database file
>11  string	>\0	Version %s
>39  string		iHP-100	[H Series]

#------------------------------------------------------------------------------
# SQLite database file 
# From Ken Guest <ken@@linux.ie>
#
0   string  SQLite  SQLite database
>14 string >\0  (Version %s)
@


1.1.6.2
log
@Upgrade to file-4.20 internal.
@
text
@d30 2
a31 2
# SQLite database files
# Ken Guest <ken@@linux.ie>, Ty Sarna, Zack Weinberg
d33 2
a34 13
# Version 1 used GDBM internally; its files cannot be distinguished
# from other GDBM files.
#
# Version 2 used this format:
0	string	**\ This\ file\ contains\ an\ SQLite  SQLite 2.x database

# Version 3 of SQLite allows applications to embed their own "user version"
# number in the database.  Detect this and distinguish those files.

0   string  SQLite\ format\ 3
>60 string  _MTN               Monotone source repository
>60 belong  !0                 SQLite 3.x database, user version %u
>60 belong  0                  SQLite 3.x database
@


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

