aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-08 04:39:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-08 04:39:30 +0200
commitb68bba56499da8e5079c6dcc9004f1e0b39e8983 (patch)
treef95bb2b2738c066e1931396bf06946989f0b3a67 /coreutils
parent729ecb87bfbbaf9250837d8b8748503c5e97bfd6 (diff)
downloadbusybox-b68bba56499da8e5079c6dcc9004f1e0b39e8983.tar.gz
date: use the same code for FEATURE_DATE_NANO for glibc and uclibc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/date.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index 3d78a5336..c3478fab1 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -204,11 +204,7 @@ int date_main(int argc UNUSED_PARAM, char **argv)
xstat(filename, &statbuf);
ts.tv_sec = statbuf.st_mtime;
#if ENABLE_FEATURE_DATE_NANO
-# if defined __GLIBC__ && !defined __UCLIBC__
ts.tv_nsec = statbuf.st_mtim.tv_nsec;
-# else
- ts.tv_nsec = statbuf.st_mtimensec;
-# endif
#endif
} else {
#if ENABLE_FEATURE_DATE_NANO