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)?
Regards
Peter Breitenlohner <[email protected]>