help-make
[Top][All Lists]
Advanced

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

Re: updating target at the end of recipe, after updating prerequisites,


From: Eli Zaretskii
Subject: Re: updating target at the end of recipe, after updating prerequisites, might not work?
Date: Mon, 14 Nov 2011 08:39:35 -0500

> Date: Mon, 14 Nov 2011 07:25:47 -0500
> From: David Boyce <address@hidden>
> Cc: "address@hidden" <address@hidden>
> 
> On a side note, I've often wondered why, after all these years and
> discussions like this one, nobody's modified at least the GNU version
> of touch to do its work by opening the file for write and writing 0
> bytes to it, or appending one byte and then removing it, or whatever
> it takes to force an mtime update, rather than using the flawed utimes
> syscall.

Did you miss this portion of Coreutils' NEWS?

  * Noteworthy changes in release 6.12 (2008-05-31) [stable]

  ** New features

    cp, install, mv, and touch now preserve nanosecond resolution on
    file timestamps, on platforms that have the 'utimensat' and
    'futimens' system calls.



reply via email to

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