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