[PATCH] Treat empty files like text files

Andras Mantia amantia at freemail.hu
Thu May 1 14:51:46 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 2003 May 01 16:27, David Faure wrote:
> On Thursday 01 May 2003 15:01, Andras Mantia wrote:
> > Hi,
> >
> >   The attached tiny patch makes sure that (local) empty files are treated
> > as text ones.
>
> Why that, given that there is an application/x-zerosize mimetype for this
> very purpose?

Oh, I wasn't aware of that. Does it work for remote files, when querying with 
KMimeType::findByURL?

Andras

- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+sSZyTQdfac6L/08RArAbAJ0bHsqxfXVORO6UU8zik9dsmPntqQCgw2Ng
tYSpjz/N9pdjh8lp4w/HmaE=
=5T5i
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list