config option for KDirWatch method

Josef Spillner spillner at kde.org
Wed Aug 22 10:11:47 BST 2007


On Tuesday 21 August 2007 16:49:41 Flavio Castelli wrote:
> Filesystem Events Reporter

Thanks, will read up on that.

I have meanwhile found out that inotify uses -1 as the error code for both 
unreadable files (e.g. root/0700) and for queue overflow. That's probably the 
most stupid API design I've seen for a while, because you effectively have to 
access() every file beforehand.
All uses of inotify in KDE should make sure to handle those cases correctly.

Josef




More information about the kde-core-devel mailing list