Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 1998 18:09:50 -0700 (PDT)
From:      Mostyn Lewis <mrl@teleport.com>
To:        grog@lemis.com (Greg Lehey)
Cc:        mrl@teleport.com (Mostyn Lewis), questions@FreeBSD.ORG
Subject:   Re: Year 2000
Message-ID:  <199805150109.SAA20144@user2.teleport.com>
In-Reply-To: <19980515093946.M320@freebie.lemis.com> from "Greg Lehey" at May 15, 98 09:39:46 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
> 
> Greg

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.

Mostyn

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?199805150109.SAA20144>