Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 361541 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +6 lines)
Line  Link Here
0
-- a/coreutils/date.c
0
++ b/coreutils/date.c
Lines 249-255 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
# if defined(__UCLIBC__) \
253
	|| ( defined(__GLIBC__) && ! ( defined(__USE_MISC) || defined(__USE_XOPEN2K8) ) )
254
		ts.tv_nsec = statbuf.st_mtimensec;
255
# else
252
		ts.tv_nsec = statbuf.st_mtim.tv_nsec;
256
		ts.tv_nsec = statbuf.st_mtim.tv_nsec;
257
# endif
253
		/* Some toolchains use .st_mtimensec instead of st_mtim.tv_nsec.
258
		/* Some toolchains use .st_mtimensec instead of st_mtim.tv_nsec.
254
		 * If you need #define _SVID_SOURCE 1 to enable st_mtim.tv_nsec,
259
		 * If you need #define _SVID_SOURCE 1 to enable st_mtim.tv_nsec,
255
		 * drop a mail to project mailing list please
260
		 * drop a mail to project mailing list please

Return to bug 361541