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

Re: [leafnode-list] leafnode-2.0.0.alpha20031019a snapshot available



Jack Raats schrieb am 2003-10-27:

> Downloading and compiling on a FreeBSD 4.9-RC4 system give the following
> error:
> 
> artutil.c: In function `delete_article':
> artutil.c:324: syntax error before `u'

Apparently, your compiler chokes on "ulong". I'm enclosing a patch
below, please apply and see if that makes the problem go away.

> ----- Original Message ----- 
> From: "Matthias Andree" <matthias.andree@xxxxxx>
> To: <leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Sent: Monday, October 27, 2003 3:33 PM
> Subject: [leafnode-list] leafnode-2.0.0.alpha20031019a snapshot available

Oh, and if you can help it, please don't use this quoting format, it's
unlogical and unreadable - and a waste, since it doesn't convey
additional information. Please see
http://www.netmeister.org/news/learn2quote.html for a verbose
explanation.

Here's the patch:

Index: artutil.c
===================================================================
RCS file: /var/CVS/leafnode-2/artutil.c,v
retrieving revision 1.30
diff -u -r1.30 artutil.c
--- artutil.c	12 Oct 2003 15:39:47 -0000	1.30
+++ artutil.c	27 Oct 2003 19:14:50 -0000
@@ -321,7 +321,8 @@
 		    "%s: failed to unlink %s:%s: %m", action, ngs[n], artnos[n]);
 	} else {
 	    struct newsgroup *g = findgroup(ngs[n], active, -1);
-	    ulong u;
+	    unsigned long u;
+
 	    if (g && get_ulong(artnos[n], &u) && u == g->first)
 		g->first++;
 

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