Miles Bader wrote:

file reports PNG (image) files as "data", even though there's an entry
in /usr/share/file/magic for PNG files, and the entry appears to be
correct.

I noticed that, too. It seems to have something to do with the code in softmagic.c that is there to "Null terminate and eat *trailing* return". The PNG magic pattern ends with a 0x0a, which gets eaten.

But I'm not familiar enough with this code to propose a bugfix.
     _
Torbjorn Andersson




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to