Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 1998 13:24:57 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        peter@clari.net.au
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Y2K & tm_struct
Message-ID:  <Pine.BSF.3.96.980225132321.27909S-100000@gdi.uoregon.edu>
In-Reply-To: <199802241344.AAA01793@rhiannon.clari.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Feb 1998 peter@clari.net.au wrote:

> Please email any responses
> 
> As I understand it, tm_year == year-1900 so the year 2000 will be 100.
> isn't this going to get rather confusing every time we do a "touch"
> or whatever? wouldn't it be better to have a superset-definition such as:
> 
> year-1900  (year<1900)
> year       (year>1900)

Try touching a file to a date before 1970 and remember that ints blow up
in 2038.  

2 digit years are OK.

See touch(1).

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major



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?Pine.BSF.3.96.980225132321.27909S-100000>