[File] [PATCH] Magdir: remove some duplicated magic entries

Alexandre IOOSS erdnaxe at crans.org
Thu Aug 29 16:31:21 UTC 2024


Hello,

Following the change in apprentice_sort(), we now have some "Duplicate 
magic entry" warnings to fix.

Attached you may find a patch that merges the following magic:
- Apple ][ QBoot/0Boot Image (magic/Magdir/apple): can be merged as the 
subbranches match different strings.
- Mach-o and Java (magic/Magdir/cafebabe): can be merged as the mach-o 
branch is "belong 1" and the java one is "ubelong >30".
- Alpha COFF object file (magic/Magdir/digital): can be merged as one 
branch is "leshort 0" and the other one "leshort !0".
- PowerPC COFF object file (magic/Magdir/coff): same as Alpha COFF 
object file.

Best,
-- 
Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_dupl1.diff
Type: text/x-patch
Size: 5205 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20240829/1e00d802/attachment.bin>


More information about the File mailing list