[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/io
From:       David Faure <faure () kde ! org>
Date:       2010-11-06 1:49:59
Message-ID: 20101106014959.16545AC89B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1193436 by dfaure:

this is only used for inotify, and breaks compilation otherwise


 M  +2 -0      kdirwatch.cpp  


--- trunk/KDE/kdelibs/kdecore/io/kdirwatch.cpp #1193435:1193436
@@ -1440,6 +1440,7 @@
       break;
     }
 
+#ifdef HAVE_SYS_INOTIFY_H
     if (entry->isDir) {
       // Report and clear the the list of files that have changed in this directory.
       // Remove duplicates by changing to set and back again:
@@ -1455,6 +1456,7 @@
       }
       entry->m_pendingFileChanges.clear();
     }
+#endif
 
     if ( ev != NoChange ) {
       emitEvent(entry, ev);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic