0006-gzip.patch 609 B

123456789101112131415
  1. Author: Daniel Baumann <mail@daniel-baumann.ch>
  2. Description: Updating gzip mime (Closes: #688886).
  3. diff -Naurp file.orig/magic/Magdir/compress file/magic/Magdir/compress
  4. --- file.orig/magic/Magdir/compress
  5. +++ file/magic/Magdir/compress
  6. @@ -21,7 +21,7 @@
  7. # * Produce shorter output - notably, only report compression methods
  8. # other than 8 ("deflate", the only method defined in RFC 1952).
  9. 0 string \037\213 gzip compressed data
  10. -!:mime application/x-gzip
  11. +!:mime application/gzip
  12. >2 byte <8 \b, reserved method
  13. >2 byte >8 \b, unknown method
  14. >3 byte &0x01 \b, ASCII