<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
No, sorry the patch didn't help.<br>
It still crashes.<br>
<br>
<br>
Caleb Tennis wrote:<br>
<blockquote type="cite" cite="mid200304021220.23357.caleb@aei-tech.com">
<pre wrap="">On Tuesday 01 April 2003 12:41 pm, Amilcar do Carmo Lucas wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Gideon CVS today crashes every time I save a .h file
</pre>
</blockquote>
<pre wrap=""><!---->
I can't reproduce this, but does this patch solve the problem?
diff -u -3 -p -r1.26 classstore.cpp
--- classstore.cpp 20 Mar 2003 14:06:59 -0000 1.26
+++ classstore.cpp 2 Apr 2003 17:19:55 -0000
@@ -486,13 +486,20 @@ void ClassStore::removeWithReferences(co
{
for (QMap<QString, ParsedScopeContainer*>::Iterator it =
m_allScopes.begin(); it != m_allScopes.end(); ++it)
removeWithReferences(fileName, *it);
- for (QMap<QString, ParsedClass*>::Iterator it = m_allClasses.begin(); it
!= m_allClasses.end(); ++it) {
- if ( (*it)->declaredInFile() == fileName )
+
+ QMap<QString, ParsedClass*>::Iterator it = m_allClasses.begin();
+
+ while(it != m_allClasses.end()) {
+ if ( (*it)->declaredInFile() == fileName )
m_allClasses.remove( it );
+ else it++;
}
- for (QMap<QString, ParsedClass*>::Iterator it = m_allStructs.begin(); it
!= m_allStructs.end(); ++it) {
+
+ it = m_allStructs.begin();
+ while(it != m_allStructs.end()) {
if ( (*it)->declaredInFile() == fileName )
m_allStructs.remove( it );
+ else it++;
}
removeWithReferences(fileName, m_globalScope);
}
_______________________________________________
Kdevelop-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kdevelop-devel@barney.cs.uni-potsdam.de">Kdevelop-devel@barney.cs.uni-potsdam.de</a>
<a class="moz-txt-link-freetext" href="http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel">http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Amilcar Lucas
---------------------------------------------------------------------------
Institut fuer Datentechnik und Kommunikationsnetze
Technische Universitaet Braunschweig, Germany
Amilcar do Carmo Lucas Tel. : +49 531 391 3751
Raum 1315 Fax : +49 531 391 3750
Hans-Sommer Str. 66 Email: <a class="moz-txt-link-abbreviated" href="mailto:amilcar@ida.ing.tu-bs.de">amilcar@ida.ing.tu-bs.de</a>
D-38106 Braunschweig
<a class="moz-txt-link-freetext" href="http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml">http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml</a>
---------------------------------------------------------------------------
</pre>
<br>
</body>
</html>