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