Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 20:58:01 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: (bsd)tar is broken on 6.1
Message-ID:  <20060526105801.GE744@turion.vk2pj.dyndns.org>
In-Reply-To: <20060526093443.GC94280@hugo10.ka.punkt.de>
References:  <200605251845.k4PIjdx7070553@freefall.freebsd.org> <4476457A.5050800@alumni.rice.edu> <200605260837.k4Q8btpl031485@freefall.freebsd.org> <4476C99C.50200@alumni.rice.edu> <20060526093443.GC94280@hugo10.ka.punkt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2006-May-26 11:34:43 +0200, Patrick M. Hausen wrote:
>> > -rw-r--r--  1 jmz  jmz    4312 Apr 16  1947 supclkrd.prg

>Since there cannot be a date before January 1st 1970, 0:00 on
>any Unix system, i guess there's something seriously broken here.

Why do you say that?  time_t is signed so it can represent a date
prior to 1970.  In theory, a file prepared on an earlier computer
could have been transferred onto a Unix system whilst retaining
its original modification time.

In this particular case, the date seems unlikely.  That said, it is
a perfectly valid date and it would be nice if tar could support it -
though tar(5) states dates before the epoch are not handled
consistently.

-- 
Peter Jeremy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060526105801.GE744>