Le mardi 08 mars 2005 � 14:09 -0600, Federico Mena Quintero a �crit :

> 1. Also, even if it does, xdgmime uses
> fnmatch() without case-folding.

Wrt extension matching, the shared mime info spec says:
� Applications MUST first try a case-sensitive match, then try again
with the filename converted to lower-case if that fails. This is so that
main.C will be seen as a C++ file, but IMAGE.GIF will still use the
*.gif pattern. �
This part of the spec should work fine with xdgmime too, see
https://bugs.freedesktop.org/show_bug.cgi?id=732
fnmatch is only used for "complex" patterns I think (ie those that don't
look like *.ext)

Christophe



_______________________________________________
gnome-vfs-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Reply via email to