On Wed, 2005-05-18 at 00:39 +0200, Alban browaeys wrote:
> so i guessed that shared-mime-info count from -1 :(
>
> the issue could have remained unnoticed by most as if the offset is wrong for
> all pattern shared mime info will
> fail back to extension matching.
I haven't had a chance to digest the entire of your email.
However most of the magic patterns do work. For example rename an
OpenOffice spreadsheet removing the .sxc spreadsheet and it is still
detected as a spreadsheet using the following magic
<magic priority="50">
<match value="mimetypeapplication/vnd.sun.xml.calc" type="string"
offset="30"/>
I can't look at this at moment as I am in the middle of my finals. Will
try to look at it in a couple of weeks.
Stewart
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]