BUG: /bin/file generates lots of warnings when compiling the default magic file:

$ uname -r
3.7.0-0.502.g31bf91f867c5.x86_64
$ file --version
file-5.46
magic file from /usr/share/misc/magic
$ file --compile
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 8433: > 0 byte&,=0,""]
/usr/share/misc/magic, 43334: > 0 byte&,=0,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 29223: > 0 byte&,=0,""]
/usr/share/misc/magic, 8433: > 0 byte&,=0,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 43334: > 0 byte&,=0,""]
/usr/share/misc/magic, 8433: > 0 byte&,=0,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 29642: > 0 ubyte&,=35,""]
/usr/share/misc/magic, 26517: > 0 ubyte&,=35,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 10083: > 0 string,=#!,""]
/usr/share/misc/magic, 37734: > 0 string,=#!,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 12987: > 0 ubeshort&,=1024,""]
/usr/share/misc/magic, 48064: > 0 ubeshort&,=1024,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 20279: > 510 leshort&,=-21931,""]
/usr/share/misc/magic, 29932: > 510 leshort&,=-21931,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 10218: > 0 string,=\037\213,""]
/usr/share/misc/magic, 7582: > 0 string,=\037\213,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 23346: > 0 beshort&,=-32768,""]
/usr/share/misc/magic, 27515: > 0 beshort&,=-32768,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 42101: > 0 leshort&,=4097,""]
/usr/share/misc/magic, 8715: > 0 leshort&,=4097,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 23269: > 0 beshort&,=1,""]
/usr/share/misc/magic, 5788: > 0 beshort&,=1,""]
Warning: Duplicate magic entry `'
/usr/share/misc/magic, 18040: > 0 lelong&,=4,""]
/usr/share/misc/magic, 33544: > 0 lelong&,=4,""]

Thanks,
Martin

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to