From kde-devel Tue May 14 22:36:37 2002 From: Waldo Bastian Date: Tue, 14 May 2002 22:36:37 +0000 To: kde-devel Subject: Re: Kicker / famd bug X-MARC-Message: https://marc.info/?l=kde-devel&m=102141596012969 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------Boundary-00=_1HH4HSZ8LO4MDSZGJ4ZW" --------------Boundary-00=_1HH4HSZ8LO4MDSZGJ4ZW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 14 May 2002 02:16 pm, Gregor Jasny wrote: > Both the kicker and the famd process took 50% CPU time. > > Is this a known bug? > Should I file a bug report against this? I guess KDirWatch should stay far away from /dev. Cheers, Waldo =2D-=20 bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com --------------Boundary-00=_1HH4HSZ8LO4MDSZGJ4ZW Content-Type: text/x-diff; charset="iso-8859-1"; name="kdirwatch.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kdirwatch.patch" Index: kdirwatch.cpp =================================================================== RCS file: /home/kde/kdelibs/kio/kio/kdirwatch.cpp,v retrieving revision 1.73 diff -u -p -r1.73 kdirwatch.cpp --- kdirwatch.cpp 2002/04/18 05:17:24 1.73 +++ kdirwatch.cpp 2002/05/14 22:34:39 @@ -449,6 +449,8 @@ void KDirWatchPrivate::addEntry(KDirWatc Entry* sub_entry, bool isDir) { QString path = _path; + if (path.startsWith("/dev/") || (path == "/dev")) + return; // Don't even go there. if ( path.length() > 1 && path.right(1) == "/" ) path.truncate( path.length() - 1 ); --------------Boundary-00=_1HH4HSZ8LO4MDSZGJ4ZW-- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<