[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [leafnode-list] texpire 1.9.23pre3 segfault
Cool. I will try the patch this evening when I get home (unless the new version is out before that LOL). Thanks!
William Hooper
-----Original Message-----
From: Ralf Wildenhues <wildenhu@xxxxxxxxxxxxxxx>
To: leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 25 Jun 2002 08:33:57 +0200
Subject: Re: [leafnode-list] texpire 1.9.23pre3 segfault
* William Hooper wrote on Tue, Jun 25, 2002 at 03:24:52AM CEST:
> Just upgraded to 1.9.23pre3 yesterday, and noticed I didn't get any mail
> from cron about expired messages. Running texpire manually shows:
> <quote>
> Segmentation fault
> [root@snowball news]#
> </quote>
>
> Any thoughts? Any other tests I can try to run?
Fixed that in CVS right after 1.9.23pre3 was released. If you don't
want to wait till the next release, the patch is below. I figured it
would rarely trigger, I'm sorry.
Hope that solves your problem,
Ralf
diff -ru leafnode-1.9.23.pre3/texpire.c cvs/leafnode-1/texpire.c
--- leafnode-1.9.23.pre3/texpire.c Sat Jun 22 13:49:27 2002
+++ cvs/leafnode-1/texpire.c Sat Jun 22 20:07:05 2002
@@ -316,7 +316,7 @@
closedir(d);
if (last < first) {
if (verbose > 1) printf("%s: empty group\n", name);
- g->first = g->last + 1;
+ if (g) g->first = g->last + 1;
return;
}
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list