date :add a comment about older toolchains
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Nov 2010 23:15:19 +0000 (00:15 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Nov 2010 23:15:19 +0000 (00:15 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/date.c

index a8040757d0a9425cd676ac74623145ab58afa8dd..d70957cf6a1aa03f934bc192f488c1c5cbb51f8f 100644 (file)
@@ -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