From owner-freebsd-bugs Wed Aug 26 17:12:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA23090 for freebsd-bugs-outgoing; Wed, 26 Aug 1998 17:12:22 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA23079 for ; Wed, 26 Aug 1998 17:12:15 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from olvaldi.ifi.uio.no (2602@olvaldi.ifi.uio.no [129.240.65.43]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id XAA01324; Wed, 26 Aug 1998 23:59:02 +0200 (MET DST) Received: (from dag-erli@localhost) by olvaldi.ifi.uio.no ; Wed, 26 Aug 1998 23:59:01 +0200 (MET DST) Mime-Version: 1.0 To: "Susan R. O'Brien" Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: Y2K problem References: <35E4637C.5E26EEC3@mss.lucent.com> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 26 Aug 1998 23:59:01 +0200 In-Reply-To: "Susan R. O'Brien"'s message of "Wed, 26 Aug 1998 15:35:25 -0400" Message-ID: Lines: 19 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id RAA23083 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Susan R. O'Brien" writes: > I'm using 2.2.5 and was looking at the source code for localtime and > asctime. They're using a #define TM_YEAR_BASE 1900. > > This looks to be a bit of a problem for Y2K compliancy! No. Read the man page. FWIW, FreeBSD does have Y2K problems. Grep (glimpse) the source tree for calls to localtime(3) and audit every bit of code that calls it. I've read through date(1) and pax(1), and they both have problems (and ugly kludges trying to work around these problems). BTW, most of the date-related code in pax(1) looks cut'n'pasted from date(1). Maybe we need an audit... DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message