[git commit master 1/1] date: add a comment about _SVID_SOURCE
Denys Vlasenko
vda.linux at googlemail.com
Thu Dec 30 22:56:47 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=d1e46651a349b809e42083e3fd4d120ccb2f0c4f
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
coreutils/date.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/coreutils/date.c b/coreutils/date.c
index d70957c..a1a004d 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -250,7 +250,10 @@ 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 */
+ /* Some toolchains use .st_mtimensec instead of st_mtim.tv_nsec.
+ * If you need #define SVID_SOURCE 1 to enable st_mtim.tv_nsec,
+ * drop a mail to project mailing list please
+ */
#endif
} else {
#if ENABLE_FEATURE_DATE_NANO
--
1.7.2.2
More information about the busybox-cvs
mailing list