[Bug 53575] KDirWatch crash (was: Autoproject part crashes invoking the "add files to target" dialog)

Hamish Rodda meddie at yoyo.its.monash.edu.au
Thu Feb 20 07:28:04 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=53575     
meddie at yoyo.its.monash.edu.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From meddie at yoyo.its.monash.edu.au  2003-02-20 07:27 -------
Subject: KDE_3_1_BRANCH: kdelibs/kio/kio

CVS commit by rodda: 

Backport Josef's fix for bug 53575

CCMAIL:53575-done at bugs.kde.org


  M +2 -0      kdirwatch.cpp   1.87.2.3


--- kdelibs/kio/kio/kdirwatch.cpp  #1.87.2.2:1.87.2.3
@@ -625,4 +625,6 @@ void KDirWatchPrivate::removeEntry( KDir
 
   if (delayRemove) {
+    // removeList is allowed to contain any entry at most once
+    if (removeList.findRef(e)==-1)
     removeList.append(e);
     // now e->isValid() is false




More information about the KDevelop-devel mailing list