Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2001 21:49:52 -0400 (EDT)
From:      Jim Weeks <jim@siteplus.net>
To:        Michael Burns <michael@fasturl.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Webalizer oddness
Message-ID:  <Pine.BSF.4.21.0110072148010.10196-100000@veager.jwweeks.com>
In-Reply-To: <20011007230903.A95305@fasturl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the diff, but I had already done the upgrade.  The later
version definitely fixes the problem.

--
Jim Weeks


On Sun, 7 Oct 2001, Michael Burns wrote:

> Webalizer versions prior to 2.01-06 have an int rollover bug in the 
> expression they use to compare timestamps, with the result that all
> records after a certain October 2001 date are ignored. I fixed the 
> problem by patching old versions of webalizer and recompiling. You
> could also upgrade to a current version.
> A diff for 1.30 is below:
> 
> ----BEGIN----
> 517,518c517,518
> <          rec_tstamp=((jdate(rec_day,rec_month,rec_year)-epoch)*1000000)+
> <             (rec_hour*10000) + (rec_min*100) + rec_sec;
> ---
> >          rec_tstamp=((jdate(rec_day,rec_month,rec_year)-epoch)*86400)+
> >             (rec_hour*3600) + (rec_min*60) + rec_sec;
> 4512,4513c4512,4513
> <    cur_tstamp=((jdate(cur_day,cur_month,cur_year)-epoch)*1000000)+
> <       (cur_hour*10000) + (cur_min*100) + cur_sec;
> ---
> >    cur_tstamp=((jdate(cur_day,cur_month,cur_year)-epoch)*86400)+
> >       (cur_hour*3600) + (cur_min*60) + cur_sec;
> ----END------
> 
> -- 
> Michael Burns
> Systems Administrator
> Vener Net Inc.
> michael@fasturl.net
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110072148010.10196-100000>