]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/file/patchlevel.h
Virgin import of FILE 3.32
[FreeBSD/FreeBSD.git] / contrib / file / patchlevel.h
1 #define FILE_VERSION_MAJOR      3
2 #define patchlevel              32
3
4 /*
5  * Patchlevel file for Ian Darwin's MAGIC command.
6  * $Id: patchlevel.h,v 1.32 2000/08/05 18:24:18 christos Exp $
7  *
8  * $Log: patchlevel.h,v $
9  * Revision 1.32  2000/08/05 18:24:18  christos
10  * Correct indianness detection in elf (Charles Hannum)
11  * FreeBSD elf core support (Guy Harris)
12  * Use gzip in systems that don't have uncompress (Anthon van der Neut)
13  * Internationalization/EBCDIC support (Eric Fisher)
14  * Many many magic changes
15  *
16  * Revision 1.31  2000/05/14 17:58:36  christos
17  * - new magic for claris files
18  * - new magic for mathematica and maple files
19  * - new magic for msvc files
20  * - new -k flag to keep going matching all possible entries
21  * - add the word executable on #! magic files, and fix the usage of
22  *   the word script
23  * - lots of other magic fixes
24  * - fix typo test -> text
25  *
26  * Revision 1.30  2000/04/11 02:41:17  christos
27  * - add support for mime output (-i)
28  * - make sure we free memory in case realloc fails
29  * - magic fixes
30  *
31  * Revision 1.29  1999/11/28 20:02:29  christos
32  * new string/[Bcb] magic from anthon, and adjustments to the magic files to
33  * use it.
34  *
35  * Revision 1.28  1999/10/31 22:11:48  christos
36  * - add "char" type for compatibility with HP/UX
37  * - recognize HP/UX syntax &=n etc.
38  * - include errno.h for CYGWIN
39  * - conditionalize the S_IS* macros
40  * - revert the SHT_DYNSYM test that broke the linux stripped binaries test
41  * - lots of Magdir changes
42  *
43  * Revision 1.27  1999/02/14 17:21:41  christos
44  * Automake support and misc cleanups from Rainer Orth
45  * Enable reading character and block special files from Dale R. Worley
46  *
47  * Revision 1.26  1998/09/12 13:19:39  christos
48  * - add support for bi-endian indirect offsets (Richard Verhoeven)
49  * - add recognition for bcpl (Joseph Myers)
50  * - remove non magic files from Magdir to avoid difficulties building
51  *   on os2 where files are case independent
52  * - magic fixes.
53  *
54  * Revision 1.25  1998/06/27 14:04:04  christos
55  * OLF patch Guy Harris
56  * Recognize java/html (debian linux)
57  * Const poisoning (debian linux)
58  * More magic!
59  *
60  * Revision 1.24  1998/02/15 23:20:38  christos
61  * Autoconf patch: Felix von Leitner <leitner@math.fu-berlin.de>
62  * More magic fixes
63  * Elf64 fixes
64  *
65  * Revision 1.23  1997/11/05 16:03:37  christos
66  * - correct elf prps offset for SunOS-2.5.1 [guy@netapp.com]
67  * - handle 64 bit time_t's correctly [ewt@redhat.com]
68  * - new mime style magic [clarosse@netvista.net]
69  * - new TI calculator magic [rmcguire@freenet.columbus.oh.us]
70  * - new figlet fonts [obrien@freebsd.org]
71  * - new cisco magic, and elf fixes [jhawk@bbnplanet.com]
72  * - -b flag addition, and x86 filesystem magic [vax@linkhead.paranoia.com]
73  * - s/Mpeg/MPEG, header and elf typo fixes [guy@netapp.com]
74  * - Windows/NT registry files, audio code [guy@netapp.com]
75  * - libGrx graphics lib fonts [guy@netapp.com]
76  * - PNG fixes [guy@netapp.com]
77  * - more m$ document magic [guy@netapp.com]
78  * - PPD files [guy@netapp.com]
79  * - archive magic cleanup [guy@netapp.com]
80  * - linux kernel magic cleanup [guy@netapp.com]
81  * - lecter magic [guy@netapp.com]
82  * - vgetty magic [guy@netapp.com]
83  * - sniffer additions [guy@netapp.com]
84  *
85  * Revision 1.22  1997/01/15 17:23:24  christos
86  * - add support for elf core files: find the program name under SVR4 [Ken Pizzini]
87  * - print strings only up to the first carriage return [various]
88  * - freebsd international ascii support [J Wunsch]
89  * - magic fixes and additions [Guy Harris]
90  * - 64 bit fixes [Larry Schwimmer]
91  * - support for both utime and utimes, but don't restore file access times
92  *   by default [various]
93  * - \xXX only takes 2 hex digits, not 3.
94  * - re-implement support for core files [Guy Harris]
95  *
96  * Revision 1.21  1996/10/05 18:15:29  christos
97  * Segregate elf stuff and conditionally enable it with -DBUILTIN_ELF
98  * More magic fixes
99  *
100  * Revision 1.20  1996/06/22  22:15:52  christos
101  * - support relative offsets of the form >&
102  * - fix bug with truncating magic strings that contain \n
103  * - file -f - did not read from stdin as documented
104  * - support elf file parsing using our own elf support.
105  * - as always magdir fixes and additions.
106  *
107  * Revision 1.19  1995/10/27  23:14:46  christos
108  * Ability to parse colon separated list of magic files
109  * New LEGAL.NOTICE
110  * Various magic file changes
111  *
112  * Revision 1.18  1995/05/20  22:09:21  christos
113  * Passed incorrect argument to eatsize().
114  * Use %ld and %lx where appropriate.
115  * Remove unused variables
116  * ELF support for both big and little endian
117  * Fixes for small files again.
118  *
119  * Revision 1.17  1995/04/28  17:29:13  christos
120  * - Incorrect nroff detection fix from der Mouse
121  * - Lost and incorrect magic entries.
122  * - Added ELF stripped binary detection [in C; ugh]
123  * - Look for $MAGIC to find the magic file.
124  * - Eat trailing size specifications from numbers i.e. ignore 10L
125  * - More fixes for very short files
126  *
127  * Revision 1.16  1995/03/25  22:06:45  christos
128  * - use strtoul() where it exists.
129  * - fix sign-extend bug
130  * - try to detect tar archives before nroff files, otherwise
131  *   tar files where the first file starts with a . will not work
132  *
133  * Revision 1.15  1995/01/21  21:03:35  christos
134  * Added CSECTION for the file man page
135  * Added version flag -v
136  * Fixed bug with -f input flag (from iorio@violet.berkeley.edu)
137  * Lots of magic fixes and reorganization...
138  *
139  * Revision 1.14  1994/05/03  17:58:23  christos
140  * changes from mycroft@gnu.ai.mit.edu (Charles Hannum) for unsigned
141  *
142  * Revision 1.13  1994/01/21  01:27:01  christos
143  * Fixed null termination bug from Don Seeley at BSDI in ascmagic.c
144  *
145  * Revision 1.12  1993/10/27  20:59:05  christos
146  * Changed -z flag to understand gzip format too.
147  * Moved builtin compression detection to a table, and move
148  * the compress magic entry out of the source.
149  * Made printing of numbers unsigned, and added the mask to it.
150  * Changed the buffer size to 8k, because gzip will refuse to
151  * unzip just a few bytes.
152  *
153  * Revision 1.11  1993/09/24  18:49:06  christos
154  * Fixed small bug in softmagic.c introduced by
155  * copying the data to be examined out of the input
156  * buffer. Changed the Makefile to use sed to create
157  * the correct man pages.
158  *
159  * Revision 1.10  1993/09/23  21:56:23  christos
160  * Passed purify. Fixed indirections. Fixed byte order printing.
161  * Fixed segmentation faults caused by referencing past the end
162  * of the magic buffer. Fixed bus errors caused by referencing
163  * unaligned shorts or longs.
164  *
165  * Revision 1.9  1993/03/24  14:23:40  ian
166  * Batch of minor changes from several contributors.
167  *
168  * Revision 1.8  93/02/19  15:01:26  ian
169  * Numerous changes from Guy Harris too numerous to mention but including
170  * byte-order independance, fixing "old-style masking", etc. etc. A bugfix
171  * for broken symlinks from martin@@d255s004.zfe.siemens.de.
172  * 
173  * Revision 1.7  93/01/05  14:57:27  ian
174  * Couple of nits picked by Christos (again, thanks).
175  * 
176  * Revision 1.6  93/01/05  13:51:09  ian
177  * Lotsa work on the Magic directory.
178  * 
179  * Revision 1.5  92/09/14  14:54:51  ian
180  * Fix a tiny null-pointer bug in previous fix for tar archive + uncompress.
181  * 
182  */
183