--===============0620690109== Content-Type: multipart/signed; boundary="nextPart1747146.5j4IldEFna"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1747146.5j4IldEFna Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Bernd Brandstetter wrote: >On Sunday 16 October 2005 14:25, Luciano Montanaro wrote: >> > > Does KDE use this mechanism at all? >> > >> > Sure it does, otherwise it wouldn't be able to recognize files >> > without extension. But AFAIK the magic is not meant to be extended: >> > http://developer.kde.org/documentation/library/kdeqt/kde3arch/mime.h >> >tml > >Hmm, I don't think so. Otherwise, how could Konqueror's "File Type" > section show "C Header File", "C++ Header File", "Objective-C Header > File" or sometimes simply "Mime Type" for files which all have the same > extension ".h"? It uses Magic only when the file type cannot be guessed from the file name= =20 pattern (not just the suffix, mind you). So a file ending in .h will be=20 assumed to be a C header always. =2D-=20 Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 1. On frumscafte, hwonne time_t w=E6s n=E1ht, se scieppend =FEone circolwyr= de=20 wundorcr=E6ftl=EDge cennede and seo eor=F0e w=E6s idel and hit w=E6s g=F3d. --nextPart1747146.5j4IldEFna Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBDUmpXM/XwBW70U1gRAhYwAKDC1wTv9T/k+Wvz01veoivBzCJ+OACgq3e1 LHvCI6HjGJjmEjMvGxV1iqQ= =BkTH -----END PGP SIGNATURE----- --nextPart1747146.5j4IldEFna-- --===============0620690109== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0620690109==--