]> granicus.if.org Git - file/commitdiff
Use the number of sections to disambiguate zlib compressed files from VAX
authorChristos Zoulas <christos@zoulas.com>
Fri, 4 Oct 2019 18:07:46 +0000 (18:07 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 4 Oct 2019 18:07:46 +0000 (18:07 +0000)
coff binaries.

magic/Magdir/vax

index 21c5b8db762e2ad91cf7569023f4cd628e97840a..f3deffa59fa3db14c6402422a9abc35f36b0d3d7 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: vax,v 1.8 2013/01/09 22:37:24 christos Exp $
+# $File: vax,v 1.10 2019/10/04 18:07:46 christos Exp $
 # vax:  file(1) magic for VAX executable/object and APL workspace
 #
 0      lelong          0101557         VAX single precision APL workspace
 # The `versions' were commented out, but have been un-commented out.
 # (Was the problem just one of endianness?)
 #
-0      leshort         0570            VAX COFF executable
->12    lelong          >0              not stripped
->22    leshort         >0              - version %d
-0      leshort         0575            VAX COFF pure executable
->12    lelong          >0              not stripped
->22    leshort         >0              - version %d
+0      leshort         0570
+>2     uleshort        <100            VAX COFF executable, sections %d
+>>4    ledate          x               \b, created %s
+>>12   lelong          >0              \b, not stripped
+>>22   leshort         >0              \b, version %d
+
+0      leshort         0575
+>2     uleshort        <100            VAX COFF pure executable, sections %d
+>>4    ledate          x               \b, created %s
+>>12   lelong          >0              \b, not stripped
+>>22   leshort         >0              \b, version %d