]> granicus.if.org Git - file/commitdiff
support for Dell BIOS version detection.
authorChristos Zoulas <christos@zoulas.com>
Mon, 6 Jun 2011 13:01:41 +0000 (13:01 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 6 Jun 2011 13:01:41 +0000 (13:01 +0000)
https://bugzilla.redhat.com/show_bug.cgi?id=709953
From Jan Kaluza

magic/Magdir/msdos

index f8852cb2559bae43b6247fbdd385a887f4f1c382..b33d5049ed220c3b67356fcd16eea91ec94ff68c 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: msdos,v 1.72 2011/05/08 01:21:41 christos Exp $
+# $File: msdos,v 1.73 2011/05/18 18:11:23 christos Exp $
 # msdos:  file(1) magic for MS-DOS files
 #
 
 # Dell's .hdr
 0      string $RBU
 >23    string Dell                     %s system BIOS
->48    string x                        version %.3s
+>5     byte   2
+>>48   byte   x                        version %d.
+>>49   byte   x                        \b%d.
+>>50   byte   x                        \b%d
+>5     byte   <2
+>>48   string x                        version %.3s
 
 # Type: Microsoft DirectDraw Surface
 # URL: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/DDSFileReference/ddsfileformat.asp