diff options
Diffstat (limited to 'file/magic/Localstuff')
-rw-r--r-- | file/magic/Localstuff | 38 |
1 files changed, 8 insertions, 30 deletions
diff --git a/file/magic/Localstuff b/file/magic/Localstuff index 8aa48646c..0fd0c9169 100644 --- a/file/magic/Localstuff +++ b/file/magic/Localstuff @@ -6,33 +6,11 @@ # Add any locally observed files here. Remember: # text if readable, executable if runnable binary, data if unreadable. -# -# RPM: file(1) magic for RPM packages and headers -# -0 beshort 0xedab ->2 beshort 0xeedb RPM ->>4 byte x v%d package ->>6 beshort 0 bin ->>6 beshort 1 src ->>8 beshort 1 i386 ->>8 beshort 2 Alpha ->>8 beshort 3 Sparc ->>8 beshort 4 MIPS ->>8 beshort 5 PPC ->>8 beshort 6 68000 ->>8 beshort 7 SGI ->>8 beshort 8 RS6000 ->>8 beshort 10 Sparc64 ->>8 beshort 11 MIPSEL ->>8 beshort 12 ARM ->>8 beshort 13 m68kmint ->>8 beshort 14 s390 ->>8 beshort 15 s390x ->>8 beshort 16 PPC64 ->>8 beshort 17 SH ->>8 beshort 18 Xtensa ->>10 string x %s - -0 beshort 0x8ead ->2 beshort 0xe801 RPM header - +# XXX promoted from tex so that *.tfm is not mis-identified as mc68k file. +# There is no way to detect TeX Font Metric (*.tfm) files without +# breaking them apart and reading the data. The following patterns +# match most *.tfm files generated by METAFONT or afm2tfm. +2 string \000\021 TeX font metric data +>33 string >\0 (%s) +2 string \000\022 TeX font metric data +>33 string >\0 (%s) |