|
Line
Link Here
|
| 0 |
-- coreutils/date.c 2011-02-08 17:24:57.000000000 +0000 |
0 |
++ coreutils/date1.c 2011-04-01 01:31:26.000000000 +0000 |
|
Lines 249-255
int date_main(int argc UNUSED_PARAM, cha
Link Here
|
| 249 |
xstat(filename, &statbuf); |
249 |
xstat(filename, &statbuf); |
| 250 |
ts.tv_sec = statbuf.st_mtime; |
250 |
ts.tv_sec = statbuf.st_mtime; |
| 251 |
#if ENABLE_FEATURE_DATE_NANO |
251 |
#if ENABLE_FEATURE_DATE_NANO |
| 252 |
ts.tv_nsec = statbuf.st_mtim.tv_nsec; |
252 |
ts.tv_nsec = statbuf.st_mtimensec; |
| 253 |
/* some toolchains use .st_mtimensec instead of st_mtim.tv_nsec */ |
253 |
/* some toolchains use .st_mtimensec instead of st_mtim.tv_nsec */ |
| 254 |
#endif |
254 |
#endif |
| 255 |
} else { |
255 |
} else { |