From: Denys Vlasenko Date: Mon, 22 Nov 2010 23:15:19 +0000 (+0100) Subject: date :add a comment about older toolchains X-Git-Tag: 1_18_0~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e0f15010e09951d02d76d618e055cb118e7d29b;p=oweals%2Fbusybox.git date :add a comment about older toolchains Signed-off-by: Denys Vlasenko --- diff --git a/coreutils/date.c b/coreutils/date.c index a8040757d..d70957cf6 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