Hi Martin,
On 6/16/2026 6:59 AM, Martin Wege via Cygwin wrote:
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 `'
[...]
I've reproduced this. It also occurs with (unreleased on Cygwin) file
5.48 and does not occur with 5.44. I've reported the issue to the
'file' maintainers upstream.
Thanks for the report!
..mark
--
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