[File] Duplicate magic entries
Christos Zoulas
christos at zoulas.com
Fri Feb 27 16:01:59 UTC 2026
Thanks I fixed the macos issue. The dup entries are not new I think and would require much more work.
christos
> On Feb 27, 2026, at 8:33 AM, Dr. Werner Fink <werner at suse.de> wrote:
>
> Signed PGP part
> I'd like to notice that this only happens with the RAW
> magic file data. Beside this there seems to be a bug in
> magic/Magdir/msdos ">>(1,s+65539)" should be ">>(1.s+65539)"
> IMHO.
>
> On 2026/02/27 12:17:40 +0100, Dr. Werner Fink wrote:
>> Just to be reported ... I see in verbose mode duplicate magic entries.
>> And yes I've removed all local stuff as well as all patches below magic.
>>
>> file-5.47> make V=1 -C magic magic.mgc
>> make: Entering directory '/home/abuild/rpmbuild/BUILD/file-5.47-build/file-5.47/magic'
>> ../src/file -C -m magic
>> Warning: Duplicate magic entry `'
>> magic, 6918: > 0 string,=\037\213,""]
>> magic, 9611: > 0 string,=\037\213,""]
>> Warning: Duplicate magic entry `'
>> magic, 5105: > 0 beshort&,=1,""]
>> magic, 20322: > 0 beshort&,=1,""]
>> Warning: Duplicate magic entry `'
>> magic, 23616: > 0 ubyte&,=35,""]
>> magic, 29053: > 0 ubyte&,=35,""]
>> Warning: Duplicate magic entry `'
>> magic, 30749: > 0 string/b,=MZ,""]
>> magic, 36361: > 0 string/b,=MZ,""]
>> Warning: Duplicate magic entry `'
>> magic, 41207: > 0 byte&,=0,""]
>> magic, 44418: > 0 byte&,=0,""]
>> Warning: Duplicate magic entry `'
>> magic, 28296: > 0 string,=PK\003\004,""]
>> magic, 49919: > 0 string,=PK\003\004,""]
>> Warning: Duplicate magic entry `'
>> magic, 15019: > 0 lelong&,=4,""]
>> magic, 32877: > 0 lelong&,=4,""]
>> Warning: Duplicate magic entry `'
>> magic, 12496: > 0 ubeshort&,=1024,""]
>> magic, 49211: > 0 ubeshort&,=1024,""]
>> Warning: Duplicate magic entry `'
>> magic, 9476: > 0 string,=#!,""]
>> magic, 37184: > 0 string,=#!,""]
>> Warning: Duplicate magic entry `'
>> magic, 17325: > 510 leshort&,=-21931,""]
>> magic, 29343: > 510 leshort&,=-21931,""]
>> Warning: Duplicate magic entry `'
>> magic, 8083: > 0 leshort&,=4097,""]
>> magic, 43131: > 0 leshort&,=4097,""]
>> Warning: Duplicate magic entry `'
>> magic, 20399: > 0 beshort&,=-32768,""]
>> magic, 28400: > 0 beshort&,=-32768,""]
>> Warning: Duplicate magic entry `'
>> magic, 14534: > 0 byte&,=-23,""]
>> magic, 32180: > 0 byte&,=-23,""]
>> Warning: Duplicate magic entry `'
>> magic, 7801: > 0 byte&,=0,""]
>> magic, 41207: > 0 byte&,=0,""]
>
> --
> "Having a smoking section in a restaurant is like having
> a peeing section in a swimming pool." -- Edward Burr
> --
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20260227/0a7f5624/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20260227/0a7f5624/attachment.asc>
More information about the File
mailing list