Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 1999 08:56:12 +1100
From:      Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
To:        imp@village.org
Cc:        committers@FreeBSD.ORG, danny@hilink.com.au
Subject:   Re: Y2K compliance question
Message-ID:  <99Jan16.085538est.40324@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
Warner Losh <imp@village.org> wrote:
>In message <99Jan15.134603est.40357@border.alcanet.com.au> Peter Jeremy writes:
>: I'm having a quick check and I've found what seem to be problems in:
...
>: src/gnu/usr.bin/rcs/lib/rcstime.c
>
>I see no Y2K problems here.
My mistake.  On a first pass, there appeared to be a problem,  when I
had a closer look, I realised the code was correct as is.

>: src/release/picobsd/tinyware/simple_httpd/simple_httpd.c
>
>I see no Y2K problems here.  All dates are logged as two digit
>numbers.  The century is know from the context.
tm_year is printed out as 2 digits.  In 2000, tm_year becomes 100 :-(.

>: src/usr.bin/fetch/http.c
>
>There appears to be a minor nit in parsing two digit dates.  It
>appears to assume that they are in 1900..1999.
IMHO, that code can get dates in the form "Monday, 27-Jan-1997 14:31:09"
as well as 2 digit years.  If it actually gets a 4-digit year, it will
confuse mktime().

>: src/usr.sbin/cron/lib/misc.c
>
>No bugs found, although dates in mail headers are always two digits.
Until 2000, when the year becomes 100.

>: src/usr.sbin/i4b/isdndecode/layer3_subr.c
>: src/usr.sbin/i4b/isdntrace/q931.c
>
>I'll leave these to the isdn people.
Same here.  I don't have the time or inclination to work my way thru Q.931.

Peter

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Jan16.085538est.40324>