[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sub-second time stamp issues

From: Peter Breitenlohner
Subject: Re: sub-second time stamp issues
Date: Mon, 11 Jan 2010 11:09:25 +0100 (CET)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Sun, 10 Jan 2010, Ralf Wildenhues wrote:

As I knew already from trying to understand a similar problem, 'cp -p' and
'touch -r' both round sub-seconds, whereas tar and rsync truncate them.

Ouch.  That's even worse.  The text at 'Timestamps and Make' in the
Autoconf manual needs updating for this.

That can hurt user-written makefile rules that use `cp -p' or `touch
-r'.  sanity.m4 can't help it really, because this can at best cause
spurious rebuilds of all kinds of things, and at worst not cause
updating of some targets.

Proposed patch for the Autoconf manual.  OK?

Hi Ralf,

looks OK. Do you want to mention/stress that the behaviour depends not only
on the OS but also on the filessystem type (local/nfs for everyone, for
Linux I know that ext2/ext3/jfs behave differently)?

Peter Breitenlohner <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]