Van: John Sellens <[EMAIL PROTECTED]> Aan: <[EMAIL PROTECTED]> Verzonden: dinsdag 4 januari 2000 16:29 Onderwerp: Re: flexfax: Found one Y2K issue in logs > I emptied out my etc/xferlog file which seemed to do the > trick for me ... > > > | From [EMAIL PROTECTED] Tue Jan 4 06:48:49 2000 > | Date: Tue, 4 Jan 2000 06:18:18 -0500 > | From: Yan Seiner <[EMAIL PROTECTED]> > | To: HylaFax list <[EMAIL PROTECTED]> > | Subject: Re: flexfax: Found one Y2K issue in logs > | > | It's been doing that to me since I installed it... > | > | Not a y2k issue - just some funky date/time issue. I haven't had a > | chance to diagnose it - it's a minor problem in the scope of things here > | today. > | > | --Yan > | > | Steven Cruysberghs wrote: > | > > | > Yes, I noticed the same thing. Is there a solution for this? > | > ----- Oorspronkelijk bericht ----- > | > Van: Carl Patten <[EMAIL PROTECTED]> > | > Aan: Carl Patten <[EMAIL PROTECTED]> > | > CC: HylaFax list <[EMAIL PROTECTED]> > | > Verzonden: maandag 3 januari 2000 17:44 > | > Onderwerp: flexfax: Found one Y2K issue in logs > | > > | > > > | > > The status log that HylaFAX e-mails me every day counted all the faxes > | > I've > | > > ever sent. That's probably a one-time glitch due to the roll-over. > The following patches to Hylafax scripts in /usr/sbin (or wherever you have them installed) will fix the problem without resorting to purging your directories. I had the same problems, and the changes make reports normal as before 2000: --------------------------------cut---------------------------------- *** faxcron Tue Jan 19 22:41:45 1999 --- /usr/sbin/faxcron Wed Jan 5 08:56:41 2000 *************** *** 187,191 **** split(datetime, a, " "); split(a[1], b, "/"); ! t = b[3] b[1] b[2] a[2]; if (t < LASTt) return; --- 187,195 ---- split(datetime, a, " "); split(a[1], b, "/"); ! if (b[3] < 70) ! century = "20"; ! else ! century = "19"; ! t = century b[3] b[1] b[2] a[2]; if (t < LASTt) return; *************** *** 252,256 **** split(LASTRUN, a, " "); split(a[1], b, "/"); ! LASTt = b[3] b[1] b[2] a[2]; setupToLower(); } --- 256,264 ---- split(LASTRUN, a, " "); split(a[1], b, "/"); ! if (b[3] < 70) ! century = "20"; ! else ! century = "19"; ! LASTt = century b[3] b[1] b[2] a[2]; setupToLower(); } *** recvstats Tue Jan 19 22:41:45 1999 --- /usr/sbin/recvstats Mon Jan 3 13:07:22 2000 *************** *** 158,162 **** function cvtDateTime(s) { ! yday = substr(s,7,2)*365 + substr(s,4,2) - 1; mon = substr(s,0,2) + 0; for (i = 0; i < mon; i++) --- 158,165 ---- function cvtDateTime(s) { ! yr = substr(s,7,2); ! if (yr < 70) ! yr += 100; ! yday = yr*365 + substr(s,4,2) - 1; mon = substr(s,0,2) + 0; for (i = 0; i < mon; i++) *** xferstats Tue Jan 19 22:41:44 1999 --- /usr/sbin/xferstats Mon Jan 3 13:08:49 2000 *************** *** 187,191 **** function cvtDateTime(s) { ! yday = substr(s,7,2)*365 + substr(s,4,2) - 1; mon = substr(s,0,2) + 0; for (i = 0; i < mon; i++) --- 187,194 ---- function cvtDateTime(s) { ! yr = substr(s,7,2); ! if (yr < 70) ! yr += 100; ! yday = yr*365 + substr(s,4,2) - 1; mon = substr(s,0,2) + 0; for (i = 0; i < mon; i++) --------------------------------cut---------------------------------- Jim Cunning -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.