[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] leafnode reposting



"Jeff Grossman" <jeff@xxxxxxxxxxx> writes:

>> -----Original Message-----
>> From: Matthias Andree [mailto:ma@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]
>> Sent: Tuesday, November 26, 2002 5:44 PM
>> To: leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> The bug fix that addressed this went into the code on September 14th
>> this year, so leafnode-2-0-0-alpha20020921a and later have this
>> particular fix. The current version is
>> leafnode-2.0.0.alpha20021108b. Find it at the usual place,
>> http://mandree.home.pages.de/leafnode/beta/
>
> What is different about the 20021108a and 20021108b version?

1. a compiliation fix for pre-C99 compilers, 20021108a would bail out on
   fetchnews.c compile for many people, the whole code change is below

2. documentation.

Index: fetchnews.c
===================================================================
RCS file: /var/CVS/leafnode-2/fetchnews.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- fetchnews.c	8 Nov 2002 23:40:07 -0000	1.106
+++ fetchnews.c	10 Nov 2002 18:04:31 -0000	1.107
@@ -1352,10 +1352,10 @@
 	    if (is_interesting(l)
 		    && (forceact || !(active && findgroup(l, active, -1)))
 		    && chdirgroup(l, FALSE)) {
+		unsigned long c;
 		first = ULONG_MAX;
 		last = 0;
-		unsigned long count;
-		if (getwatermarks(&first, &last, &count) || 0 == count) {
+		if (getwatermarks(&first, &last, &c) || 0 == c) {
 		    /* trouble or empty group */
 		    first = last = 0;
 		}


-- 
Matthias Andree
leafnode-1 download: http://sourceforge.net/projects/leafnode/
leafnode-1 docs/new: http://mandree.home.pages.de/leafnode/
leafnode-2 homepage: http://mandree.home.pages.de/leafnode/beta/

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list