]> git.pld-linux.org Git - packages/file.git/blob - file-dbase.patch
- fix md5, older gcc fix
[packages/file.git] / file-dbase.patch
1 Single 0x03/0x83 is too weak (the first conflicts with Python 2.7);
2 rely on the fact, that third byte is the last modification month in BCD, i.e. <= 0x12
3 --- file-5.04/magic/Magdir/msdos.orig   2010-08-25 08:34:47.942823295 +0200
4 +++ file-5.04/magic/Magdir/msdos        2010-08-25 09:04:06.554822457 +0200
5 @@ -549,12 +549,14 @@
6  0      lelong          0x08084b50      TurboC Font file
7  
8  # WARNING: below line conflicts with Infocom game data Z-machine 3
9 -0      byte            0x03            DBase 3 data file
10 ->0x04  lelong          0               (no records)
11 ->0x04  lelong          >0              (%ld records)
12 -0      byte            0x83            DBase 3 data file with memo(s)
13 ->0x04  lelong          0               (no records)
14 ->0x04  lelong          >0              (%ld records)
15 +0      byte            0x03
16 +>0x02  byte            <0x13           DBase 3 data file
17 +>>0x04 lelong          0               (no records)
18 +>>0x04 lelong          >0              (%ld records)
19 +0      byte            0x83
20 +>0x02  byte            <0x13           DBase 3 data file with memo(s)
21 +>>0x04 lelong          0               (no records)
22 +>>0x04 lelong          >0              (%ld records)
23  0      leshort         0x0006          DBase 3 index file
24  0      string          PMCC            Windows 3.x .GRP file
25  1      string          RDC-meg         MegaDots 
This page took 0.023744 seconds and 3 git commands to generate.