Date: Fri, 15 May 1998 11:03:10 +0930 From: Greg Lehey <grog@lemis.com> To: Mostyn Lewis <mrl@teleport.com> Cc: questions@FreeBSD.ORG Subject: Re: Year 2000 Message-ID: <19980515110310.A305@freebie.lemis.com> In-Reply-To: <199805150109.SAA20144@user2.teleport.com>; from Mostyn Lewis on Thu, May 14, 1998 at 06:09:50PM -0700 References: <19980515093946.M320@freebie.lemis.com> <199805150109.SAA20144@user2.teleport.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 May 1998 at 18:09:50 -0700, Mostyn Lewis wrote: >> On Thu, 14 May 1998 at 16:26:06 -0400, PParker@anon.penet.fi wrote: >>> Is your current version of FreeBSD year 2000 compatable? >> >> Yes. > > Actually NOT when it comes to strptime, q.v. > See the X/Open SUS definition etc. > This routine needs to be changed for Y2K. > If you want a test case, I'll maiil one. > > > For strptime( "11/22/02", "%m/%d/%y", &ztm) > the result for years since 1900 is > tm_year; 002 > > This should be 102 for Y2K compliance. This is new to me. I would have said that strptime is correct, and the idea of re-interpreting "02" worries me. Can you give me a URL, please? Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980515110310.A305>