From owner-cvs-all Fri Jan 15 02:52:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA23533 for cvs-all-outgoing; Fri, 15 Jan 1999 02:52:57 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA23527 for ; Fri, 15 Jan 1999 02:52:53 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (peter@localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Netplex) with ESMTP id SAA85171; Fri, 15 Jan 1999 18:51:17 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199901151051.SAA85171@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Warner Losh cc: Peter Jeremy , danny@hilink.com.au, committers@FreeBSD.ORG Subject: Re: Y2K compliance question In-reply-to: Your message of "Thu, 14 Jan 1999 22:58:15 MST." <199901150558.WAA21153@harmony.village.org> Date: Fri, 15 Jan 1999 18:51:15 +0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Warner Losh wrote: > : src/gnu/usr.bin/rcs/lib/rcstime.c > : src/gnu/usr.bin/rcs/lib/rcstime.c > > I see no Y2K problems here. All uses of tm_year assume that it > measures years since 1900, which is correct. It further assumes that > all 2 digit dates are in 1900..1999, which is also correct for this > file because it parses dates stored in the RCS file itself. It stores > dates in the file from 1900..1999 w/o the leading 19 for historical > comapatability reasons. What have I missed? The RCS file format is very specific about this. In the files, years 00-99 are "1900-1999", and everything else is specifically written out in full. The two digit dates are specifically *not* to be converted to full format. Now, if there are bugs in the handling or implementing of this, then fine, otherwise everybody keep your hands off. There are *many* more users of the rcs file format than just rcs itself. If somebody changes rcs to generate "1999" in these fields, it will be generating invalid files, and they can count on being shot on sight. 1/2 :-) Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message