[bug #40056] make should automatically detect targets with low resolution timestamps

2014-03-03 Thread Paul D. Smith
Follow-up Comment #6, bug #40056 (project make): I will definitely fix this before the next release. ___ Reply to this item at: ___ Message sent via/by

[bug #40056] make should automatically detect targets with low resolution timestamps

2014-03-03 Thread James Ralston
Follow-up Comment #5, bug #40056 (project make): Ping? make's behavior is still wrong (as I detailed in comment #3), and make is still broken. While I still think adding a "precision" element to the "file" struct is the best solution, my patch to (essentially) apply .LOW_RESOLUTION_TIMESTAMP aut

[bug #40056] make should automatically detect targets with low resolution timestamps

2013-09-23 Thread James Ralston
Follow-up Comment #4, bug #40056 (project make): Philip is correct: I can find no evidence that any version of glibc (released or development) implements pathconf(path, _PC_TIMESTAMP_RESOLUTION). So, unfortunately, currently the only way under Linux to determine if a file has nanosecond timestamp

[bug #40056] make should automatically detect targets with low resolution timestamps

2013-09-23 Thread James Ralston
Follow-up Comment #3, bug #40056 (project make): In response to Paul's 2013-09-22T07:15:04+ comment: To be clear: my patch simply applies the .LOW_RESOLUTION_TIMESTAMP special target's logic (add 0.9 seconds to a timestamp that lacks nanosecond resolution) implicitly to all low-resolu

[bug #40056] make should automatically detect targets with low resolution timestamps

2013-09-22 Thread Paul D. Smith
Follow-up Comment #2, bug #40056 (project make): My concern about this patch is that there are plenty of examples of files which have an NS field of 0, even on ext4 filesystems which support sub-second timestamps. This could be true just by chance, but it's actually true much more often because m

[bug #40056] make should automatically detect targets with low resolution timestamps

2013-09-22 Thread Paul D. Smith
Follow-up Comment #1, bug #40056 (project make): Philip Guether writes on the bug-make mailing list: You're looking for pathconf(path, _PC_TIMESTAMP_RESOLUTION) See also: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fpathconf.html However, last I checked glibc and Linux di

Re: [bug #40056] make should automatically detect targets with low resolution timestamps

2013-09-17 Thread Philip Guenther
On Tue, Sep 17, 2013 at 10:12 PM, James Ralston wrote: ... > The statfs(2) system call will return the f_type field in the struct statfs, > but unfortunately, the field is the same for all variants of ext (ext2, ext3, > ext4). So as far as I know (although I would be happy to be corrected), there

[bug #40056] make should automatically detect targets with low resolution timestamps

2013-09-17 Thread James Ralston
URL: Summary: make should automatically detect targets with low resolution timestamps Project: make Submitted by: ralston Submitted on: Wed 18 Sep 2013 05:12:18 AM GMT Severity: 3 - No