patchlevel.h 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. #define FILE_VERSION_MAJOR 3
  2. #define patchlevel 28
  3. /*
  4. * Patchlevel file for Ian Darwin's MAGIC command.
  5. * $Id: patchlevel.h,v 1.28 1999/10/31 22:11:48 christos Exp $
  6. *
  7. * $Log: patchlevel.h,v $
  8. * Revision 1.28 1999/10/31 22:11:48 christos
  9. * - add "char" type for compatibility with HP/UX
  10. * - recognize HP/UX syntax &=n etc.
  11. * - include errno.h for CYGWIN
  12. * - conditionalize the S_IS* macros
  13. * - revert the SHT_DYNSYM test that broke the linux stripped binaries test
  14. * - lots of Magdir changes
  15. *
  16. * Revision 1.27 1999/02/14 17:21:41 christos
  17. * Automake support and misc cleanups from Rainer Orth
  18. * Enable reading character and block special files from Dale R. Worley
  19. *
  20. * Revision 1.26 1998/09/12 13:19:39 christos
  21. * - add support for bi-endian indirect offsets (Richard Verhoeven)
  22. * - add recognition for bcpl (Joseph Myers)
  23. * - remove non magic files from Magdir to avoid difficulties building
  24. * on os2 where files are case independent
  25. * - magic fixes.
  26. *
  27. * Revision 1.25 1998/06/27 14:04:04 christos
  28. * OLF patch Guy Harris
  29. * Recognize java/html (debian linux)
  30. * Const poisoning (debian linux)
  31. * More magic!
  32. *
  33. * Revision 1.24 1998/02/15 23:20:38 christos
  34. * Autoconf patch: Felix von Leitner <leitner@math.fu-berlin.de>
  35. * More magic fixes
  36. * Elf64 fixes
  37. *
  38. * Revision 1.23 1997/11/05 16:03:37 christos
  39. * - correct elf prps offset for SunOS-2.5.1 [guy@netapp.com]
  40. * - handle 64 bit time_t's correctly [ewt@redhat.com]
  41. * - new mime style magic [clarosse@netvista.net]
  42. * - new TI calculator magic [rmcguire@freenet.columbus.oh.us]
  43. * - new figlet fonts [obrien@freebsd.org]
  44. * - new cisco magic, and elf fixes [jhawk@bbnplanet.com]
  45. * - -b flag addition, and x86 filesystem magic [vax@linkhead.paranoia.com]
  46. * - s/Mpeg/MPEG, header and elf typo fixes [guy@netapp.com]
  47. * - Windows/NT registry files, audio code [guy@netapp.com]
  48. * - libGrx graphics lib fonts [guy@netapp.com]
  49. * - PNG fixes [guy@netapp.com]
  50. * - more m$ document magic [guy@netapp.com]
  51. * - PPD files [guy@netapp.com]
  52. * - archive magic cleanup [guy@netapp.com]
  53. * - linux kernel magic cleanup [guy@netapp.com]
  54. * - lecter magic [guy@netapp.com]
  55. * - vgetty magic [guy@netapp.com]
  56. * - sniffer additions [guy@netapp.com]
  57. *
  58. * Revision 1.22 1997/01/15 17:23:24 christos
  59. * - add support for elf core files: find the program name under SVR4 [Ken Pizzini]
  60. * - print strings only up to the first carriage return [various]
  61. * - freebsd international ascii support [J Wunsch]
  62. * - magic fixes and additions [Guy Harris]
  63. * - 64 bit fixes [Larry Schwimmer]
  64. * - support for both utime and utimes, but don't restore file access times
  65. * by default [various]
  66. * - \xXX only takes 2 hex digits, not 3.
  67. * - re-implement support for core files [Guy Harris]
  68. *
  69. * Revision 1.21 1996/10/05 18:15:29 christos
  70. * Segregate elf stuff and conditionally enable it with -DBUILTIN_ELF
  71. * More magic fixes
  72. *
  73. * Revision 1.20 1996/06/22 22:15:52 christos
  74. * - support relative offsets of the form >&
  75. * - fix bug with truncating magic strings that contain \n
  76. * - file -f - did not read from stdin as documented
  77. * - support elf file parsing using our own elf support.
  78. * - as always magdir fixes and additions.
  79. *
  80. * Revision 1.19 1995/10/27 23:14:46 christos
  81. * Ability to parse colon separated list of magic files
  82. * New LEGAL.NOTICE
  83. * Various magic file changes
  84. *
  85. * Revision 1.18 1995/05/20 22:09:21 christos
  86. * Passed incorrect argument to eatsize().
  87. * Use %ld and %lx where appropriate.
  88. * Remove unused variables
  89. * ELF support for both big and little endian
  90. * Fixes for small files again.
  91. *
  92. * Revision 1.17 1995/04/28 17:29:13 christos
  93. * - Incorrect nroff detection fix from der Mouse
  94. * - Lost and incorrect magic entries.
  95. * - Added ELF stripped binary detection [in C; ugh]
  96. * - Look for $MAGIC to find the magic file.
  97. * - Eat trailing size specifications from numbers i.e. ignore 10L
  98. * - More fixes for very short files
  99. *
  100. * Revision 1.16 1995/03/25 22:06:45 christos
  101. * - use strtoul() where it exists.
  102. * - fix sign-extend bug
  103. * - try to detect tar archives before nroff files, otherwise
  104. * tar files where the first file starts with a . will not work
  105. *
  106. * Revision 1.15 1995/01/21 21:03:35 christos
  107. * Added CSECTION for the file man page
  108. * Added version flag -v
  109. * Fixed bug with -f input flag (from iorio@violet.berkeley.edu)
  110. * Lots of magic fixes and reorganization...
  111. *
  112. * Revision 1.14 1994/05/03 17:58:23 christos
  113. * changes from mycroft@gnu.ai.mit.edu (Charles Hannum) for unsigned
  114. *
  115. * Revision 1.13 1994/01/21 01:27:01 christos
  116. * Fixed null termination bug from Don Seeley at BSDI in ascmagic.c
  117. *
  118. * Revision 1.12 1993/10/27 20:59:05 christos
  119. * Changed -z flag to understand gzip format too.
  120. * Moved builtin compression detection to a table, and move
  121. * the compress magic entry out of the source.
  122. * Made printing of numbers unsigned, and added the mask to it.
  123. * Changed the buffer size to 8k, because gzip will refuse to
  124. * unzip just a few bytes.
  125. *
  126. * Revision 1.11 1993/09/24 18:49:06 christos
  127. * Fixed small bug in softmagic.c introduced by
  128. * copying the data to be examined out of the input
  129. * buffer. Changed the Makefile to use sed to create
  130. * the correct man pages.
  131. *
  132. * Revision 1.10 1993/09/23 21:56:23 christos
  133. * Passed purify. Fixed indirections. Fixed byte order printing.
  134. * Fixed segmentation faults caused by referencing past the end
  135. * of the magic buffer. Fixed bus errors caused by referencing
  136. * unaligned shorts or longs.
  137. *
  138. * Revision 1.9 1993/03/24 14:23:40 ian
  139. * Batch of minor changes from several contributors.
  140. *
  141. * Revision 1.8 93/02/19 15:01:26 ian
  142. * Numerous changes from Guy Harris too numerous to mention but including
  143. * byte-order independance, fixing "old-style masking", etc. etc. A bugfix
  144. * for broken symlinks from martin@@d255s004.zfe.siemens.de.
  145. *
  146. * Revision 1.7 93/01/05 14:57:27 ian
  147. * Couple of nits picked by Christos (again, thanks).
  148. *
  149. * Revision 1.6 93/01/05 13:51:09 ian
  150. * Lotsa work on the Magic directory.
  151. *
  152. * Revision 1.5 92/09/14 14:54:51 ian
  153. * Fix a tiny null-pointer bug in previous fix for tar archive + uncompress.
  154. *
  155. */