summaryrefslogtreecommitdiff
path: root/lib/physmem.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-03 21:02:08 +0000
committerJim Meyering <jim@meyering.net>2001-01-03 21:02:08 +0000
commit550edf90b21ef96fccc4e91bf799bf2d6df15053 (patch)
treee2bd29c572c9028a1be57962313bb9be8e2106c9 /lib/physmem.c
parentf3aa9892056918da39e6873f051d4b02523d3209 (diff)
downloadcoreutils-550edf90b21ef96fccc4e91bf799bf2d6df15053.tar.xz
Use the more precise algorithm of GNU "make" to decide whether
a file is in the future, by looking at high-resolution time stamps if available. (TIMESPEC_NS): New macro. (current_time): Initialize to the minimum value. (current_time_ns): New var. (main): Do not bother to initialize current_time; it's no longer needed. (get_current_time): New function. (print_long_format): Use it when a file appears to be in the future. Get the nanoseconds of the file's time stamp, if available, and use that to decide whether the file appears to be in the future.
Diffstat (limited to 'lib/physmem.c')
0 files changed, 0 insertions, 0 deletions