[PATCH] kdirwatch.cpp

Waldo Bastian bastian at kde.org
Wed Sep 25 18:54:55 BST 2002


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

On Wednesday 25 September 2002 10:31 am, Josef Weidendorfer wrote:
> On Wednesday 25 September 2002 18:59, Waldo Bastian wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Wednesday 25 September 2002 05:40 am, Josef Weidendorfer wrote:
> > > There is some strange exclusion of some files in KDED when going
> > > recursive. Does somebody know why ???
> >
> > This one?
> >      if (d[i] == "." || d[i] == ".." || d[i] == "magic")
> >
> > The first two are obvious, but what magic is doing there.. no idea.. we
> > do have a "magic" file for the mimetypes but I have no idea why it is
> > being excluded.
>
> Hi Waldo,
>
> I just did a CVS annotate on kded.cpp. The line above is from Version 1.1,
> imported by you. I suppose this is because some copying from another
> directory.
> Do you know what its place was before?

kbuildsycoca.cpp:
1.1          (dfaure   20-Oct-99):       if (d[i] == "." || d[i] == ".." || 
d[i] == "magic")

And that one was copied from somewhere else but I have no idea from where. 
Probably something under "kiolib" or so. If you have KDE 1.1.2 source around 
you can grep for it ;-)

I think the check for "magic" can be safely removed.

Cheers,
Waldo
- -- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9kfhvN4pvrENfboIRAq54AJ9R+oO/FBtlE5xrHCBbZwTIMaT4twCfU5XZ
i7Gw0IzZ8PZktfld8jpDXMw=
=THLZ
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list