local.disable-detection-of-vax-coff-executables.patch 1001 B

12345678910111213141516171819202122232425262728
  1. Subject: Disable detection of VAX COFF executables
  2. Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
  3. Date: Wed, 16 Sep 2015 23:59:58 +0200
  4. Bug-Debian: https://bugs.debian.org/697846
  5. zlib compress data very often begins with \x78\x01 (deflate, 32k
  6. window size). This clashes with VAX COFF where the latter has a
  7. bigger strength. Additional havoc is created by the fact the
  8. latter is considered an executable.
  9. Disable "VAX COFF executable" for the time being. It's the lesser
  10. evil.
  11. --- a/magic/Magdir/vax
  12. +++ b/magic/Magdir/vax
  13. @@ -19,9 +19,9 @@
  14. # The `versions' were commented out, but have been un-commented out.
  15. # (Was the problem just one of endianness?)
  16. #
  17. -0 leshort 0570 VAX COFF executable
  18. ->12 lelong >0 not stripped
  19. ->22 leshort >0 - version %d
  20. +#0 leshort 0570 VAX COFF executable
  21. +#>12 lelong >0 not stripped
  22. +#>22 leshort >0 - version %d
  23. 0 leshort 0575 VAX COFF pure executable
  24. >12 lelong >0 not stripped
  25. >22 leshort >0 - version %d