1672518248.FILE5_44-9-gdc71304b.pyzip-improvements-fc-stegerman.patch 830 B

1234567891011121314151617181920212223
  1. Subject: Pyzip improvements (FC Stegerman)
  2. Origin: FILE5_44-9-gdc71304b <https://github.com/file/file/commit/FILE5_44-9-gdc71304b>
  3. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  4. Date: Sat Dec 31 20:24:08 2022 +0000
  5. --- a/magic/Magdir/archive
  6. +++ b/magic/Magdir/archive
  7. @@ -1876,9 +1876,14 @@
  8. # https://en.wikipedia.org/wiki/ZIP_(file_format)#End_of_central_directory_record_(EOCD)
  9. # by Michal Gorny <mgorny@gentoo.org>
  10. -2 uleshort 0
  11. ->&-22 string PK\005\006 Zip archive, with extra data prepended
  12. +>&-22 string PK\005\006
  13. +# without #!
  14. +>>0 string !#! Zip archive, with extra data prepended
  15. !:mime application/zip
  16. !:ext zip/cbz
  17. +# with #!
  18. +>>0 string/w #!\ a
  19. +>>>&-1 string/T x %s script executable (Zip archive)
  20. # ACE archive (from http://www.wotsit.org/download.asp?f=ace)
  21. # by Stefan `Sec` Zehl <sec@42.org>