glibc/conform/data/sys
Szabolcs Nagy a06b40cdf5 struct stat is not posix conform
On 21/05/15 05:29, Siddhesh Poyarekar wrote:
> On Wed, May 20, 2015 at 06:55:02PM +0100, Szabolcs Nagy wrote:
>> i guess it's ok for consistency if i fix struct stat64
>> too to use __USE_XOPEN2K8.
>>
>> i will run some tests and come back with a patch
>
> I also think it would be appropriate to change this code in other
> architectures (microblaze and nacl IIRC) to make all of them
> consistent.  It is a mechanical enough change IMO that all arch
> maintainer acks is not necessary.
>

here is the patch with consistent __USE_XOPEN2K8

ok to commit?

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

	[BZ #18234]
	* conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
	st_mtim and st_ctim members.

	* sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
	st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.

	* sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
	(struct stat64): Likewise.

	* sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
	(struct stat64): Likewise.

	* sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
	(struct stat64): Likewise.
2015-05-26 22:27:24 +05:30
..
ipc.h-data First steps to get conformtest fully working 2012-02-25 23:18:39 -05:00
mman.h-data conformtest: clean up POSIX expectations for sys/mman.h, sys/stat.h, sys/types.h. 2014-06-11 23:16:23 +00:00
msg.h-data First steps to get conformtest fully working 2012-02-25 23:18:39 -05:00
resource.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
select.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
sem.h-data First steps to get conformtest fully working 2012-02-25 23:18:39 -05:00
shm.h-data First steps to get conformtest fully working 2012-02-25 23:18:39 -05:00
socket.h-data conformtest: Fix miscellaneous UNIX98 expectations. 2012-11-10 01:13:39 +00:00
stat.h-data struct stat is not posix conform 2015-05-26 22:27:24 +05:30
statvfs.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
time.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
timeb.h-data conformtest: correct set of standards for which more headers are tested. 2014-03-06 17:43:46 +00:00
times.h-data conformtest: Clean up expectations for POSIX for various headers. 2012-11-19 22:20:44 +00:00
types.h-data conformtest: clean up POSIX expectations for sys/mman.h, sys/stat.h, sys/types.h. 2014-06-11 23:16:23 +00:00
uio.h-data conformtest: correct set of standards for which more headers are tested. 2014-03-06 17:43:46 +00:00
un.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
utsname.h-data conformtest: clean up POSIX expections for sys/utsname.h, sys/wait.h. 2014-10-14 17:00:11 +00:00
wait.h-data conformtest: clean up POSIX expections for sys/utsname.h, sys/wait.h. 2014-10-14 17:00:11 +00:00