From owner-cvs-all Fri Jan 15 13:56:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20006 for cvs-all-outgoing; Fri, 15 Jan 1999 13:56:33 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA19997 for ; Fri, 15 Jan 1999 13:56:30 -0800 (PST) (envelope-from peter.jeremy@auss2.alcatel.com.au) Received: by border.alcanet.com.au id <40324>; Sat, 16 Jan 1999 08:55:38 +1100 Date: Sat, 16 Jan 1999 08:56:12 +1100 From: Peter Jeremy Subject: Re: Y2K compliance question To: imp@village.org Cc: committers@FreeBSD.ORG, danny@hilink.com.au Message-Id: <99Jan16.085538est.40324@border.alcanet.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Warner Losh 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