From owner-freebsd-questions Wed Feb 25 13:26:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23835 for freebsd-questions-outgoing; Wed, 25 Feb 1998 13:26:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23655 for ; Wed, 25 Feb 1998 13:25:16 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id NAA28048; Wed, 25 Feb 1998 13:24:57 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 25 Feb 1998 13:24:57 -0800 (PST) From: Doug White Reply-To: Doug White To: peter@clari.net.au cc: freebsd-questions@FreeBSD.ORG Subject: Re: Y2K & tm_struct In-Reply-To: <199802241344.AAA01793@rhiannon.clari.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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