1*75490c83Stsutsui /* @(#)patchlevel.h 1.1 97/01/15 joerg */ 2*75490c83Stsutsui #define FILE_VERSION_MAJOR 3 3*75490c83Stsutsui #define patchlevel 22 4*75490c83Stsutsui 5*75490c83Stsutsui /* 6*75490c83Stsutsui * Patchlevel file for Ian Darwin's MAGIC command. 7*75490c83Stsutsui * Id: patchlevel.h,v 1.22 1997/01/15 17:23:24 christos Exp 8*75490c83Stsutsui * 9*75490c83Stsutsui * Log: patchlevel.h,v 10*75490c83Stsutsui * Revision 1.22 1997/01/15 17:23:24 christos 11*75490c83Stsutsui * - add support for elf core files: find the program name under SVR4 [Ken Pizzini] 12*75490c83Stsutsui * - print strings only up to the first carriage return [various] 13*75490c83Stsutsui * - freebsd international ascii support [J Wunsch] 14*75490c83Stsutsui * - magic fixes and additions [Guy Harris] 15*75490c83Stsutsui * - 64 bit fixes [Larry Schwimmer] 16*75490c83Stsutsui * - support for both utime and utimes, but don't restore file access times 17*75490c83Stsutsui * by default [various] 18*75490c83Stsutsui * - \xXX only takes 2 hex digits, not 3. 19*75490c83Stsutsui * - re-implement support for core files [Guy Harris] 20*75490c83Stsutsui * 21*75490c83Stsutsui * Revision 1.21 1996/10/05 18:15:29 christos 22*75490c83Stsutsui * Segregate elf stuff and conditionally enable it with -DBUILTIN_ELF 23*75490c83Stsutsui * More magic fixes 24*75490c83Stsutsui * 25*75490c83Stsutsui * Revision 1.20 1996/06/22 22:15:52 christos 26*75490c83Stsutsui * - support relative offsets of the form >& 27*75490c83Stsutsui * - fix bug with truncating magic strings that contain \n 28*75490c83Stsutsui * - file -f - did not read from stdin as documented 29*75490c83Stsutsui * - support elf file parsing using our own elf support. 30*75490c83Stsutsui * - as always magdir fixes and additions. 31*75490c83Stsutsui * 32*75490c83Stsutsui * Revision 1.19 1995/10/27 23:14:46 christos 33*75490c83Stsutsui * Ability to parse colon separated list of magic files 34*75490c83Stsutsui * New LEGAL.NOTICE 35*75490c83Stsutsui * Various magic file changes 36*75490c83Stsutsui * 37*75490c83Stsutsui * Revision 1.18 1995/05/20 22:09:21 christos 38*75490c83Stsutsui * Passed incorrect argument to eatsize(). 39*75490c83Stsutsui * Use %ld and %lx where appropriate. 40*75490c83Stsutsui * Remove unused variables 41*75490c83Stsutsui * ELF support for both big and little endian 42*75490c83Stsutsui * Fixes for small files again. 43*75490c83Stsutsui * 44*75490c83Stsutsui * Revision 1.17 1995/04/28 17:29:13 christos 45*75490c83Stsutsui * - Incorrect nroff detection fix from der Mouse 46*75490c83Stsutsui * - Lost and incorrect magic entries. 47*75490c83Stsutsui * - Added ELF stripped binary detection [in C; ugh] 48*75490c83Stsutsui * - Look for $MAGIC to find the magic file. 49*75490c83Stsutsui * - Eat trailing size specifications from numbers i.e. ignore 10L 50*75490c83Stsutsui * - More fixes for very short files 51*75490c83Stsutsui * 52*75490c83Stsutsui * Revision 1.16 1995/03/25 22:06:45 christos 53*75490c83Stsutsui * - use strtoul() where it exists. 54*75490c83Stsutsui * - fix sign-extend bug 55*75490c83Stsutsui * - try to detect tar archives before nroff files, otherwise 56*75490c83Stsutsui * tar files where the first file starts with a . will not work 57*75490c83Stsutsui * 58*75490c83Stsutsui * Revision 1.15 1995/01/21 21:03:35 christos 59*75490c83Stsutsui * Added CSECTION for the file man page 60*75490c83Stsutsui * Added version flag -v 61*75490c83Stsutsui * Fixed bug with -f input flag (from iorio@violet.berkeley.edu) 62*75490c83Stsutsui * Lots of magic fixes and reorganization... 63*75490c83Stsutsui * 64*75490c83Stsutsui * Revision 1.14 1994/05/03 17:58:23 christos 65*75490c83Stsutsui * changes from mycroft@gnu.ai.mit.edu (Charles Hannum) for unsigned 66*75490c83Stsutsui * 67*75490c83Stsutsui * Revision 1.13 1994/01/21 01:27:01 christos 68*75490c83Stsutsui * Fixed null termination bug from Don Seeley at BSDI in ascmagic.c 69*75490c83Stsutsui * 70*75490c83Stsutsui * Revision 1.12 1993/10/27 20:59:05 christos 71*75490c83Stsutsui * Changed -z flag to understand gzip format too. 72*75490c83Stsutsui * Moved builtin compression detection to a table, and move 73*75490c83Stsutsui * the compress magic entry out of the source. 74*75490c83Stsutsui * Made printing of numbers unsigned, and added the mask to it. 75*75490c83Stsutsui * Changed the buffer size to 8k, because gzip will refuse to 76*75490c83Stsutsui * unzip just a few bytes. 77*75490c83Stsutsui * 78*75490c83Stsutsui * Revision 1.11 1993/09/24 18:49:06 christos 79*75490c83Stsutsui * Fixed small bug in softmagic.c introduced by 80*75490c83Stsutsui * copying the data to be examined out of the input 81*75490c83Stsutsui * buffer. Changed the Makefile to use sed to create 82*75490c83Stsutsui * the correct man pages. 83*75490c83Stsutsui * 84*75490c83Stsutsui * Revision 1.10 1993/09/23 21:56:23 christos 85*75490c83Stsutsui * Passed purify. Fixed indirections. Fixed byte order printing. 86*75490c83Stsutsui * Fixed segmentation faults caused by referencing past the end 87*75490c83Stsutsui * of the magic buffer. Fixed bus errors caused by referencing 88*75490c83Stsutsui * unaligned shorts or longs. 89*75490c83Stsutsui * 90*75490c83Stsutsui * Revision 1.9 1993/03/24 14:23:40 ian 91*75490c83Stsutsui * Batch of minor changes from several contributors. 92*75490c83Stsutsui * 93*75490c83Stsutsui * Revision 1.8 93/02/19 15:01:26 ian 94*75490c83Stsutsui * Numerous changes from Guy Harris too numerous to mention but including 95*75490c83Stsutsui * byte-order independance, fixing "old-style masking", etc. etc. A bugfix 96*75490c83Stsutsui * for broken symlinks from martin@@d255s004.zfe.siemens.de. 97*75490c83Stsutsui * 98*75490c83Stsutsui * Revision 1.7 93/01/05 14:57:27 ian 99*75490c83Stsutsui * Couple of nits picked by Christos (again, thanks). 100*75490c83Stsutsui * 101*75490c83Stsutsui * Revision 1.6 93/01/05 13:51:09 ian 102*75490c83Stsutsui * Lotsa work on the Magic directory. 103*75490c83Stsutsui * 104*75490c83Stsutsui * Revision 1.5 92/09/14 14:54:51 ian 105*75490c83Stsutsui * Fix a tiny null-pointer bug in previous fix for tar archive + uncompress. 106*75490c83Stsutsui * 107*75490c83Stsutsui */ 108*75490c83Stsutsui 109