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