Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2008 12:06:50 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        freebsd-bugs@freebsd.org, gavin@freebsd.org
Subject:   Re: bin/124915: bsdtar(1) creates files with bogus access times
Message-ID:  <20080625080650.GA31381@nagual.pp.ru>
In-Reply-To: <4861EB38.6080807@freebsd.org>
References:  <200806240708.m5O78Kxn088155@freefall.freebsd.org> <4861EB38.6080807@freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Tue, Jun 24, 2008 at 11:52:40PM -0700, Tim Kientzle wrote:
> There's a couple of ways this might be fixed.  I'm
> not sure offhand whether it's better to explicitly
> set the atime to match mtime or to the current time.

From compatibility reasons better to do what GNU tar does here:

stat_info->atime = stat_info->ctime = start_time;

-- 
http://ache.pp.ru/


home | help

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