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:
ed9b08d
)
date: add a comment about _SVID_SOURCE
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 30 Dec 2010 22:56:47 +0000
(23:56 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 30 Dec 2010 22:56:47 +0000
(23:56 +0100)
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 d70957cf6a1aa03f934bc192f488c1c5cbb51f8f..a1a004d4528cb952ddbee8a0804ac26f193b3e98 100644
(file)
--- 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