Bug#491146: mis-identifies PNG files

2008-07-26 Thread Torbj|rn Andersson
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 *t

Bug#491146: mis-identifies PNG files

2008-07-16 Thread Miles Bader
Package: file Version: 4.25-1 Severity: normal 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. For instance: $ /usr/bin/file /usr/lib/python2.5/doc/html/icons/contents.png /usr/lib/python2