From 4a8e9bf14c33b356680298d29f7321d82d4fde5d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 Nov 2010 08:02:02 +0100 Subject: stat: do not provide variable precision time stamps * src/stat.c: Don't include fstimeprec.c. (out_epoch_sec): Don't call fstimeprec. * NEWS: Update description. * doc/coreutils.texi: Likewise. --- NEWS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index e77768db2..51e065048 100644 --- a/NEWS +++ b/NEWS @@ -24,8 +24,9 @@ GNU coreutils NEWS -*- outline -*- stat's %X, %Y, and %Z directives once again print only the integer part of seconds since the epoch. This reverts a change from coreutils-8.6, that was deemed unnecessarily disruptive. To obtain - a full resolution time stamp for %X, use %.X; if you want (say) just - 3 fractional digits, use %.3X. Likewise for %Y and %Z. + a nanosecond-precision floating point time stamp for %X use %.X; + if you want (say) just 3 fractional digits, use %.3X. Likewise + for %Y and %Z. stat's new %W format directive would print floating point seconds. However, with the above change to %X, %Y and %Z, we've made %W work -- cgit v1.2.3-54-g00ecf