patchlevel.h 3.4 KB

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