summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko2010-11-23 00:15:19 +0100
committerDenys Vlasenko2010-11-23 00:15:19 +0100
commit9e0f15010e09951d02d76d618e055cb118e7d29b (patch)
tree5850d46d5f074c43869028ba3d929513737789ee /coreutils
parent26777aa1c659b229f07205291241e45e64712a72 (diff)
downloadbusybox-9e0f15010e09951d02d76d618e055cb118e7d29b.zip
busybox-9e0f15010e09951d02d76d618e055cb118e7d29b.tar.gz
date :add a comment about older toolchains
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/date.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index a804075..d70957c 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -250,6 +250,7 @@ int date_main(int argc UNUSED_PARAM, char **argv)
ts.tv_sec = statbuf.st_mtime;
#if ENABLE_FEATURE_DATE_NANO
ts.tv_nsec = statbuf.st_mtim.tv_nsec;
+ /* some toolchains use .st_mtimensec instead of st_mtim.tv_nsec */
#endif
} else {
#if ENABLE_FEATURE_DATE_NANO