Back to index

php5  5.3.10
patchlevel.h
Go to the documentation of this file.
00001 #define       FILE_VERSION_MAJOR   5
00002 #define       patchlevel           3
00003 
00004 /*
00005  * Patchlevel file for Ian Darwin's MAGIC command.
00006  * $File: patchlevel.h,v 1.68 2008/03/22 21:39:43 christos Exp $
00007  *
00008  * $Log$
00009  * Revision 1.4  2009/05/04 20:52:43  scottmac
00010  * Update libmagic to 5.02
00011  *
00012  * Revision 1.3  2009/03/15 23:02:35  scottmac
00013  * Update fileinfo to libmagic 5.00 and remove dependency on dirent.h on Windows
00014  *
00015  * Revision 1.2  2008/11/02 16:09:27  scottmac
00016  * Update libmagic to 4.26 and add support for v6 of the magic file format.
00017  *
00018  * Revision 1.1  2008/07/11 14:13:50  derick
00019  * - Move lib to libmagic
00020  *
00021  * Revision 1.1  2008/07/11 14:10:50  derick
00022  * - Step one for bundling the libmagic library. Some config.m4 issues left.
00023  *
00024  * Revision 1.69  2008/07/02 15:27:05  christos
00025  * welcome to 4.25
00026  *
00027  * Revision 1.68  2008/03/22 21:39:43  christos
00028  * file 4.24
00029  *
00030  * Revision 1.67  2007/12/28 20:08:40  christos
00031  * welcome to 4.23.
00032  *
00033  * Revision 1.66  2007/12/27 16:38:24  christos
00034  * welcome to 4.22
00035  *
00036  * Revision 1.65  2007/05/24 17:22:27  christos
00037  * Welcome to 4.21
00038  *
00039  * Revision 1.64  2007/03/01 22:14:55  christos
00040  * welcome to 4.20
00041  *
00042  * Revision 1.63  2007/01/12 17:38:28  christos
00043  * Use File id.
00044  *
00045  * Revision 1.62  2006/12/11 21:49:58  christos
00046  * time for 4.19
00047  *
00048  * Revision 1.61  2006/10/31 21:18:09  christos
00049  * bump
00050  *
00051  * Revision 1.60  2006/03/02 22:15:12  christos
00052  * welcome to 4.17
00053  *
00054  * Revision 1.59  2005/10/17 17:15:21  christos
00055  * welcome to 4.16
00056  *
00057  * Revision 1.58  2005/08/18 15:52:56  christos
00058  * welcome to 4.15
00059  *
00060  * Revision 1.57  2005/06/25 15:52:14  christos
00061  * Welcome to 4.14
00062  *
00063  * Revision 1.56  2005/02/09 19:25:13  christos
00064  * Welcome to 4.13
00065  *
00066  * Revision 1.55  2004/11/24 18:57:47  christos
00067  * Re-do the autoconf stuff once more; passes make dist now.
00068  *
00069  * Revision 1.54  2004/11/21 05:52:05  christos
00070  * ready for 4.11
00071  *
00072  * Revision 1.53  2004/07/24 20:40:46  christos
00073  * welcome to 4.10
00074  *
00075  * Revision 1.52  2004/04/07 00:32:25  christos
00076  * welcome to 4.09
00077  *
00078  * Revision 1.51  2004/03/22 21:17:11  christos
00079  * welcome to 4.08.
00080  *
00081  * Revision 1.50  2003/12/23 17:34:04  christos
00082  * 4.07
00083  *
00084  * Revision 1.49  2003/10/15 02:08:27  christos
00085  * welcome to 4.06
00086  *
00087  * Revision 1.48  2003/09/12 19:41:14  christos
00088  * this is 4.04
00089  *
00090  * Revision 1.47  2003/05/23 21:38:21  christos
00091  * welcome to 4.03
00092  *
00093  * Revision 1.46  2003/04/02 18:57:43  christos
00094  * prepare for 4.02
00095  *
00096  * Revision 1.45  2003/03/26 15:37:25  christos
00097  * - Pass lint
00098  * - make NULL in magic_file mean stdin
00099  * - Fix "-" argument to file to pass NULL to magic_file
00100  * - avoid pointer casts by using memcpy
00101  * - rename magic_buf -> magic_buffer
00102  * - keep only the first error
00103  * - manual page: new sentence, new line
00104  * - fix typo in api function (magic_buf -> magic_buffer)
00105  *
00106  * Revision 1.44  2003/03/23 22:23:31  christos
00107  * finish librarification.
00108  *
00109  * Revision 1.43  2003/03/23 21:16:26  christos
00110  * update copyrights.
00111  *
00112  * Revision 1.42  2003/03/23 04:06:05  christos
00113  * Library re-organization
00114  *
00115  * Revision 1.41  2003/02/27 20:53:45  christos
00116  * - fix memory allocation problem (Jeff Johnson)
00117  * - fix stack overflow corruption (David Endler)
00118  * - fixes from NetBSD source (Antti Kantee)
00119  * - magic fixes
00120  *
00121  * Revision 1.40  2003/02/08 18:33:53  christos
00122  * - detect inttypes.h too (Dave Love <d.love@dl.ac.uk>)
00123  * - eliminate unsigned char warnings (Petter Reinholdtsen <pere@hungry.com>)
00124  * - better elf PT_NOTE handling (Nalin Dahyabhai <nalin@redhat.com>)
00125  * - add options to format the output differently
00126  * - much more magic.
00127  *
00128  * Revision 1.39  2002/07/03 18:57:52  christos
00129  * - ansify/c99ize
00130  * - more magic
00131  * - better COMPILE_ONLY support.
00132  * - new magic files.
00133  * - fix solaris compilation problems.
00134  *
00135  * Revision 1.38  2002/05/16 18:45:56  christos
00136  * - pt_note elf additions from NetBSD
00137  * - EMX os specific changes (Alexander Mai)
00138  * - stdint.h detection, acconfig.h fixes (Maciej W. Rozycki, Franz Korntner)
00139  * - regex file additions (Kim Cromie)
00140  * - getopt_long support and misc cleanups (Michael Piefel)
00141  * - many magic fixes and additions
00142  *
00143  * Revision 1.37  2001/09/03 14:44:22  christos
00144  * daylight/tm_isdst detection
00145  * magic fixes
00146  * don't eat the whole file if it has only nulls
00147  *
00148  * Revision 1.36  2001/07/22 21:04:15  christos
00149  * - magic fixes
00150  * - add new operators, pascal strings, UTC date printing, $HOME/.magic
00151  *   [from "Tom N Harris" <telliamed@mac.com>]
00152  *
00153  * Revision 1.35  2001/04/24 14:40:25  christos
00154  * - rename magic file sgi to mips and fix it
00155  * - add support for building magic.mgc
00156  * - portability fixes for mmap()
00157  * - try gzip before uncompress, because uncompress sometimes hangs
00158  * - be more conservative about pipe reads and writes
00159  * - many magic fixes
00160  *
00161  * Revision 1.34  2001/03/12 05:05:57  christos
00162  * - new compiled magic format
00163  * - lots of magic additions
00164  *
00165  * Revision 1.33  2000/11/13 00:30:50  christos
00166  * - wordperfect magic fix: freebsd pr 9388
00167  * - more msdos fixes from freebsd pr's 20131 and 20812
00168  * - sas and spss magic [Bruce Foster]
00169  * - mkinstalldirs [John Fremlin]
00170  * - sgi opengl fixes [Michael Pruett]
00171  * - netbsd magic fixes [Ignatios Souvatzis]
00172  * - audio additions [Michael Pruett]
00173  * - fix problem with non ansi RCSID [Andreas Ley]
00174  * - oggs magic [Felix von Leitner]
00175  * - gmon magic [Eugen Dedu]
00176  * - TNEF magic [Joomy]
00177  * - netpbm magic and misc other image stuff [Bryan Henderson]
00178  *
00179  * Revision 1.32  2000/08/05 18:24:18  christos
00180  * Correct indianness detection in elf (Charles Hannum)
00181  * FreeBSD elf core support (Guy Harris)
00182  * Use gzip in systems that don't have uncompress (Anthon van der Neut)
00183  * Internationalization/EBCDIC support (Eric Fisher)
00184  * Many many magic changes
00185  *
00186  * Revision 1.31  2000/05/14 17:58:36  christos
00187  * - new magic for claris files
00188  * - new magic for mathematica and maple files
00189  * - new magic for msvc files
00190  * - new -k flag to keep going matching all possible entries
00191  * - add the word executable on #! magic files, and fix the usage of
00192  *   the word script
00193  * - lots of other magic fixes
00194  * - fix typo test -> text
00195  *
00196  * Revision 1.30  2000/04/11 02:41:17  christos
00197  * - add support for mime output (-i)
00198  * - make sure we free memory in case realloc fails
00199  * - magic fixes
00200  *
00201  * Revision 1.29  1999/11/28 20:02:29  christos
00202  * new string/[Bcb] magic from anthon, and adjustments to the magic files to
00203  * use it.
00204  *
00205  * Revision 1.28  1999/10/31 22:11:48  christos
00206  * - add "char" type for compatibility with HP/UX
00207  * - recognize HP/UX syntax &=n etc.
00208  * - include errno.h for CYGWIN
00209  * - conditionalize the S_IS* macros
00210  * - revert the SHT_DYNSYM test that broke the linux stripped binaries test
00211  * - lots of Magdir changes
00212  *
00213  * Revision 1.27  1999/02/14 17:21:41  christos
00214  * Automake support and misc cleanups from Rainer Orth
00215  * Enable reading character and block special files from Dale R. Worley
00216  *
00217  * Revision 1.26  1998/09/12 13:19:39  christos
00218  * - add support for bi-endian indirect offsets (Richard Verhoeven)
00219  * - add recognition for bcpl (Joseph Myers)
00220  * - remove non magic files from Magdir to avoid difficulties building
00221  *   on os2 where files are case independent
00222  * - magic fixes.
00223  *
00224  * Revision 1.25  1998/06/27 14:04:04  christos
00225  * OLF patch Guy Harris
00226  * Recognize java/html (debian linux)
00227  * Const poisoning (debian linux)
00228  * More magic!
00229  *
00230  * Revision 1.24  1998/02/15 23:20:38  christos
00231  * Autoconf patch: Felix von Leitner <leitner@math.fu-berlin.de>
00232  * More magic fixes
00233  * Elf64 fixes
00234  *
00235  * Revision 1.23  1997/11/05 16:03:37  christos
00236  * - correct elf prps offset for SunOS-2.5.1 [guy@netapp.com]
00237  * - handle 64 bit time_t's correctly [ewt@redhat.com]
00238  * - new mime style magic [clarosse@netvista.net]
00239  * - new TI calculator magic [rmcguire@freenet.columbus.oh.us]
00240  * - new figlet fonts [obrien@freebsd.org]
00241  * - new cisco magic, and elf fixes [jhawk@bbnplanet.com]
00242  * - -b flag addition, and x86 filesystem magic [vax@linkhead.paranoia.com]
00243  * - s/Mpeg/MPEG, header and elf typo fixes [guy@netapp.com]
00244  * - Windows/NT registry files, audio code [guy@netapp.com]
00245  * - libGrx graphics lib fonts [guy@netapp.com]
00246  * - PNG fixes [guy@netapp.com]
00247  * - more m$ document magic [guy@netapp.com]
00248  * - PPD files [guy@netapp.com]
00249  * - archive magic cleanup [guy@netapp.com]
00250  * - linux kernel magic cleanup [guy@netapp.com]
00251  * - lecter magic [guy@netapp.com]
00252  * - vgetty magic [guy@netapp.com]
00253  * - sniffer additions [guy@netapp.com]
00254  *
00255  * Revision 1.22  1997/01/15 17:23:24  christos
00256  * - add support for elf core files: find the program name under SVR4 [Ken Pizzini]
00257  * - print strings only up to the first carriage return [various]
00258  * - freebsd international ascii support [J Wunsch]
00259  * - magic fixes and additions [Guy Harris]
00260  * - 64 bit fixes [Larry Schwimmer]
00261  * - support for both utime and utimes, but don't restore file access times
00262  *   by default [various]
00263  * - \xXX only takes 2 hex digits, not 3.
00264  * - re-implement support for core files [Guy Harris]
00265  *
00266  * Revision 1.21  1996/10/05 18:15:29  christos
00267  * Segregate elf stuff and conditionally enable it with -DBUILTIN_ELF
00268  * More magic fixes
00269  *
00270  * Revision 1.20  1996/06/22  22:15:52  christos
00271  * - support relative offsets of the form >&
00272  * - fix bug with truncating magic strings that contain \n
00273  * - file -f - did not read from stdin as documented
00274  * - support elf file parsing using our own elf support.
00275  * - as always magdir fixes and additions.
00276  *
00277  * Revision 1.19  1995/10/27  23:14:46  christos
00278  * Ability to parse colon separated list of magic files
00279  * New LEGAL.NOTICE
00280  * Various magic file changes
00281  *
00282  * Revision 1.18  1995/05/20  22:09:21  christos
00283  * Passed incorrect argument to eatsize().
00284  * Use %ld and %lx where appropriate.
00285  * Remove unused variables
00286  * ELF support for both big and little endian
00287  * Fixes for small files again.
00288  *
00289  * Revision 1.17  1995/04/28  17:29:13  christos
00290  * - Incorrect nroff detection fix from der Mouse
00291  * - Lost and incorrect magic entries.
00292  * - Added ELF stripped binary detection [in C; ugh]
00293  * - Look for $MAGIC to find the magic file.
00294  * - Eat trailing size specifications from numbers i.e. ignore 10L
00295  * - More fixes for very short files
00296  *
00297  * Revision 1.16  1995/03/25  22:06:45  christos
00298  * - use strtoul() where it exists.
00299  * - fix sign-extend bug
00300  * - try to detect tar archives before nroff files, otherwise
00301  *   tar files where the first file starts with a . will not work
00302  *
00303  * Revision 1.15  1995/01/21  21:03:35  christos
00304  * Added CSECTION for the file man page
00305  * Added version flag -v
00306  * Fixed bug with -f input flag (from iorio@violet.berkeley.edu)
00307  * Lots of magic fixes and reorganization...
00308  *
00309  * Revision 1.14  1994/05/03  17:58:23  christos
00310  * changes from mycroft@gnu.ai.mit.edu (Charles Hannum) for unsigned
00311  *
00312  * Revision 1.13  1994/01/21  01:27:01  christos
00313  * Fixed null termination bug from Don Seeley at BSDI in ascmagic.c
00314  *
00315  * Revision 1.12  1993/10/27  20:59:05  christos
00316  * Changed -z flag to understand gzip format too.
00317  * Moved builtin compression detection to a table, and move
00318  * the compress magic entry out of the source.
00319  * Made printing of numbers unsigned, and added the mask to it.
00320  * Changed the buffer size to 8k, because gzip will refuse to
00321  * unzip just a few bytes.
00322  *
00323  * Revision 1.11  1993/09/24  18:49:06  christos
00324  * Fixed small bug in softmagic.c introduced by
00325  * copying the data to be examined out of the input
00326  * buffer. Changed the Makefile to use sed to create
00327  * the correct man pages.
00328  *
00329  * Revision 1.10  1993/09/23  21:56:23  christos
00330  * Passed purify. Fixed indirections. Fixed byte order printing.
00331  * Fixed segmentation faults caused by referencing past the end
00332  * of the magic buffer. Fixed bus errors caused by referencing
00333  * unaligned shorts or longs.
00334  *
00335  * Revision 1.9  1993/03/24  14:23:40  ian
00336  * Batch of minor changes from several contributors.
00337  *
00338  * Revision 1.8  93/02/19  15:01:26  ian
00339  * Numerous changes from Guy Harris too numerous to mention but including
00340  * byte-order independance, fixing "old-style masking", etc. etc. A bugfix
00341  * for broken symlinks from martin@@d255s004.zfe.siemens.de.
00342  * 
00343  * Revision 1.7  93/01/05  14:57:27  ian
00344  * Couple of nits picked by Christos (again, thanks).
00345  * 
00346  * Revision 1.6  93/01/05  13:51:09  ian
00347  * Lotsa work on the Magic directory.
00348  * 
00349  * Revision 1.5  92/09/14  14:54:51  ian
00350  * Fix a tiny null-pointer bug in previous fix for tar archive + uncompress.
00351  * 
00352  */