[Pkg-xfce-devel] Fixing the shared-mime-info debacle

Yves-Alexis Perez corsac at debian.org
Wed May 13 07:38:17 UTC 2009


On mer, 2009-05-13 at 08:29 +0200, Yves-Alexis Perez wrote:
> The current mime.cache version, according to the spec, is
> 1.1 but my /usr/share/mime.cache seems to still be 1.0:
> 
> hexdump /usr/share/mime/mime.cache  |head -n1
> 0000000 0100 0100 0000 d441 0000 d046 0000 0c56

Uh, oh, wait, the version is on 16 bit, so I indeed have 1.1, which is
then not used at all by thunar. So we're kind-of safe for the moment,
but at one point the check should be added to be able to read 1.1 files.
Though I'm not sure changing the filename is a good idea, and yeah, why
not putting the version check in the code so apps can use “old” and
“new” formats?

Cheers,
-- 
Yves-Alexis




More information about the Pkg-xfce-devel mailing list