]> granicus.if.org Git - file/commitdiff
add the original file size now that we allow continuation levels with negative
authorChristos Zoulas <christos@zoulas.com>
Tue, 14 Nov 2017 15:20:13 +0000 (15:20 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 14 Nov 2017 15:20:13 +0000 (15:20 +0000)
offsets.

magic/Magdir/compress

index 6fa8f3215031747fc7de2d1c587fe7774070b3e8..ff8b7b0d9d69d6cd678315bb8f908b93cd7f458b 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: compress,v 1.68 2017/05/25 20:07:23 christos Exp $
+# $File: compress,v 1.69 2017/11/14 15:20:13 christos Exp $
 # compress:  file(1) magic for pure-compression formats (no archives)
 #
 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
@@ -49,6 +49,7 @@
 >9     byte            =0x0B           \b, from NTFS filesystem (NT)
 >9     byte            =0x0C           \b, from QDOS
 >9     byte            =0x0D           \b, from Acorn RISCOS
+>-4    lelong          x               \b, original size %d
 
 # packed data, Huffman (minimum redundancy) codes on a byte-by-byte basis
 0      string          \037\036        packed data