[PATCH][BZ 18234] struct stat is not posix conform

Szabolcs Nagy szabolcs.nagy@arm.com
Wed May 20 16:17:00 GMT 2015


the generic definition of struct stat on linux miss the
st_atim, st_mtim and st_ctim members when _POSIX_C_SOURCE
is defined (affects at least aarch64 and arm).

i did not see regressions on aarch64.

2015-05-20  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	[BZ #18234]
	* sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat): Make
	st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stat.diff
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150520/1514830b/attachment.bin>


More information about the Libc-alpha mailing list