[git commit master] date: use the same code for FEATURE_DATE_NANO for glibc and uclibc

Denys Vlasenko vda.linux at googlemail.com
Tue Jun 8 02:39:30 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=b68bba56499da8e5079c6dcc9004f1e0b39e8983
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 coreutils/date.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/coreutils/date.c b/coreutils/date.c
index 3d78a53..c3478fa 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
-- 
1.6.3.3



More information about the busybox-cvs mailing list