Package: file
Version: 4.17-5etch3

When invoking file like this:

$ file -m /usr/share/file/magic.mime file.xm,l
file.xml:

due to the malplaced # in line 102-103:
# svg

0       string          \<?xml
#                       text/xml
>38     string          \<\!DOCTYPE\040svg      image/svg+xml

If you put a '#' at line 102:

# svg

#0       string          \<?xml
#                       text/xml
>38     string          \<\!DOCTYPE\040svg      image/svg+xml

Everything works as expected (xml is matched later too).
I think it's a typo ant it should have looked like this:

# svg

#0      string          \<?xml                  text/xml
>38     string          \<\!DOCTYPE\040svg      image/svg+xml



Ie:
$ diff -u magic.mime.orig magic.mime
--- magic.mime.orig     2009-06-12 08:29:20.000000000 +0200
+++ magic.mime  2009-06-12 08:29:37.000000000 +0200
@@ -99,8 +99,7 @@

 # svg

-0      string          \<?xml
-#                      text/xml
+#0     string          \<?xml                  text/xml
 >38    string          \<\!DOCTYPE\040svg      image/svg+xml







-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to