Re: gnome-mime.c patch
- From: George <jirka 5z com>
- To: gnome-list gnome org
- Subject: Re: gnome-mime.c patch
- Date: Sun, 3 Jan 1999 15:55:15 -0800
On Sun, Jan 03, 1999 at 08:24:10PM +0000, Elliot Lee wrote:
> >I happen to be working on something that uses mimetypes, and noticed a
> >FIXME in gnome-mime.c The gnome_mime_type_or_default_of_file was supposed
> >to be checking with gnome-magic
>
> No it wasn't (I apologize for leaving the FIXME there :) Magic scanning is
> rather slow compared to extension scanning, so it should be done explicitly
> by apps. Tom Tromey had another reason for not doing this which I forgot.
I thought that that was the reason for doing
gnome_mime_type_or_default
and
gnome_mime_type_or_default_of_file
the former doesn't do magic scanning .. the latter does ...
George
--
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
The following implements RSA in perl and is illegal to export from the US:
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]