]> granicus.if.org Git - file/commitdiff
Don't print the string entry unless the zip entry matched (Christoph Biedl)
authorChristos Zoulas <christos@zoulas.com>
Sat, 6 Jul 2019 19:25:06 +0000 (19:25 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 6 Jul 2019 19:25:06 +0000 (19:25 +0000)
magic/Magdir/zip

index f214ad0df550c54e66415c909f1e6cdf690d7d93..565085a390996f608b884a9bb7b8c0df71fcc860 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: zip,v 1.2 2019/04/09 18:34:15 christos Exp $
+# $File: zip,v 1.3 2019/07/06 19:25:06 christos Exp $
 # zip:  file(1) magic for zip files; this is not use
 # Note the version of magic in archive is currently stronger, this is
 # just an example until negative offsets are supported better
@@ -60,4 +60,4 @@
 #>10   leshort         >1              \b, %d central directories
 #>12   lelong          x               \b, %d central directory bytes
 >(16.l)        use             zipcd
->20    pstring/l       >0              \b, %s
+>>20   pstring/l       >0              \b, %s