[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] leafnode 1.9.30-devel2 available
"William Hooper" <whooper@xxxxxxxxxxxxx> writes:
> I'm having an interesting issue with the new name conflict code. I'm
> running on RedHat 7.3 on Intel. When doing a "fetchnews -f" I get a
> list of groups that conflict (as expected), then get:
> Newsgroup name conflict: (null) vs. (null)
> Segmentation fault
Thanks for testing. It turns out I got a copy source and destination
reversed. 1.9.30-devel1 and older are unaffected.
Does this patch fix the problem for you?
Index: leafnode-1/activutil.c
diff -u leafnode-1/activutil.c:1.19 leafnode-1/activutil.c:1.20
--- leafnode-1/activutil.c:1.19 Wed Nov 20 02:25:43 2002
+++ leafnode-1/activutil.c Thu Nov 21 01:58:13 2002
@@ -173,7 +173,7 @@
count = activesize;
while (l) {
la = l;
- newsgroup_copy(l->entry, active + count);
+ newsgroup_copy(active + count, l->entry);
l = l->next;
count++;
free(la->entry);
--
Matthias Andree
http://sourceforge.net/projects/leafnode/ - leafnode-1 tarballs
http://mandree.home.pages.de/leafnode/beta/ - leafnode-2 tarballs
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list