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. --- src/stat.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/stat.c b/src/stat.c index ae7ce021f..b419f1943 100644 --- a/src/stat.c +++ b/src/stat.c @@ -63,7 +63,6 @@ #include "file-type.h" #include "filemode.h" #include "fs.h" -#include "fstimeprec.h" #include "getopt.h" #include "mountlist.h" #include "quote.h" @@ -557,10 +556,7 @@ out_epoch_sec (char *pformat, size_t prefix_len, struct stat const *statbuf, } else { - static struct fstimeprec *tab; - if (! tab) - tab = fstimeprec_alloc (); - precision = fstimeprec (tab, statbuf); + precision = 9; } if (precision && ISDIGIT (dot[-1])) -- cgit v1.2.3-54-g00ecf