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