]> granicus.if.org Git - file/commitdiff
Improve library detection, (Christoph Biedl)
authorChristos Zoulas <christos@zoulas.com>
Fri, 28 Mar 2014 19:11:40 +0000 (19:11 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 28 Mar 2014 19:11:40 +0000 (19:11 +0000)
magic/Magdir/palm

index dc966e1c5f8df77e4cc902b887149ea442092f4b..1637ec7253f79d3418ccf155bee12fe03e6bb64e 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: palm,v 1.10 2013/12/31 02:09:30 christos Exp $
+# $File: palm,v 1.11 2013/12/31 19:18:02 christos Exp $
 # palm:         file(1) magic for PalmOS {.prc,.pdb}: applications, docfiles, and hacks
 #
 # Brian Lalor <blalor@hcirisc.cs.binghamton.edu>
 >>(0x4E.L+1)   byte            x               %02d)
 
 # Palm OS .prc file types
-60             string          libr            Palm OS dynamic library data
+60             string          libr
+# flags, only bit 0 or bit 6
+# http://en.wikipedia.org/wiki/PRC_%28Palm_OS%29
+# http://web.mit.edu/tytso/www/pilot/prc-format.html
+>0x20          beshort&0xffbe  0
+>>0            string          >\0             Palm OS dynamic library data "%s"
 >0             string          >\0             "%s"
 60             string          ptch            Palm OS operating system patch data
 >0             string          >\0             "%s"