projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
729ecb8
)
date: use the same code for FEATURE_DATE_NANO for glibc and uclibc
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 8 Jun 2010 02:39:30 +0000
(
04:39
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 8 Jun 2010 02:39:30 +0000
(
04:39
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/date.c
patch
|
blob
|
history
diff --git
a/coreutils/date.c
b/coreutils/date.c
index 3d78a53362f375a0cd6fbc9fca8ff7eb5c915b87..c3478fab14310ea0b3fa323c95ec614218a29c93 100644
(file)
--- 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