bin/124915: bsdtar(1) creates files with bogus access times

Andrey Chernov ache at nagual.pp.ru
Wed Jun 25 08:06:55 UTC 2008


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/


More information about the freebsd-bugs mailing list