[Patch] Knode: real solution for the circular references problem

Christian Gebauer gebauer at kde.org
Mon Nov 4 02:51:39 GMT 2002


Hi,

I would like to commit the attached patch to fix the
problem of circular references in broken newsgroup articles.
Cp Hennessy and Mathias Waack already solved some of the
symptoms, but I am still able to reproduce #49903 with
the current CVS version.
AFAIK the real solution is to prevent cycles in the
references tree. This is achived by adding a check in 
KNRemoteArticle::setIdRef(), which prevents that an article 
references itself and a more sophisticated search for loops in 
KNGroup::buildThreads().

Please test the patch.

Greetings
Christian
-- 
>><< Christian Gebauer >><< gebauer at kde.org >><< ICQ 14916141 >><<
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knode.patch
Type: text/x-diff
Size: 4671 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021104/99a36ff3/attachment.patch>


More information about the kde-core-devel mailing list