From owner-freebsd-questions Sat Oct 30 13:28: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id EFA1814D6D for ; Sat, 30 Oct 1999 13:27:50 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.0.4] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.032 #1) id 11hewJ-0007Hu-00; Sat, 30 Oct 1999 21:17:27 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.032 #1) id 11hewH-000065-00; Sat, 30 Oct 1999 21:17:26 +0100 Date: Sat, 30 Oct 1999 21:17:25 +0100 From: Ben Smithurst To: Dan O'Connor Cc: freebsd-questions@FreeBSD.ORG, Giorgos Keramidas Subject: Re: cvsup is y2k compliant, right? Message-ID: <19991030211725.A335@strontium.scientia.demon.co.uk> References: <010701bf21b8$94434980$0200000a@danco.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <010701bf21b8$94434980$0200000a@danco.home> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan O'Connor wrote: > This is just a WAG, but if it's anything like Perl, 2000 will show up as > "100". (In Perl, you get 1999, 2000, 2001, etc. by adding '1900' to the > year, not by prepending the two digits '19'.) That's the same in C. man localtime, and look at the comment next to tm_year. (cvsup isn't written in C, I know, but what you say certainly isn't Perl specific.) As for the original question, I vaguely recall hearing that it will use 2000 in the year 2000, and that two digit years are only used for years less than 2000. This could have been about something else though, I just vaguely remember it was something CVS related. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message