deadlock Message Board
[ January Full List | Reply ]

Uh, oh, the 2100 bug.
From Nicholas on 2 Jan '00
replying to Re: the Perl 19100 output error posted by Jim

>>($sec,$min,$hour,$mday,$mon,$year,$wday,$yday) = localtime(time);
>
>Try adding this directly after the line above (in both the logger
>and admin scripts):
>
>$year -= 100;

Thanks, it appears that deals with my first goof;
I was trying to pre-define the register's value rather
than modify and re-write it.

>Also, wherever this appears:
>
>19$terms
>
>... change it to:
>
>20$terms
>
>I don't use it any more so I haven't tested it, but I think that'll
>do the trick.

How about just converting 19$terms to 2000 in the admin script?
The 2001 bug? Talk about job security!

****************************

xav.com has a new search script out, claiming faster, kewler,
etc. Supposed to be fast for up to 10mb of text.




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message