From: Denys Vlasenko Date: Tue, 8 Jun 2010 02:39:30 +0000 (+0200) Subject: date: use the same code for FEATURE_DATE_NANO for glibc and uclibc X-Git-Tag: 1_17_0~94 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b68bba56499da8e5079c6dcc9004f1e0b39e8983;p=oweals%2Fbusybox.git date: use the same code for FEATURE_DATE_NANO for glibc and uclibc Signed-off-by: Denys Vlasenko --- 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