glibc/conform/data
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
..
arpa conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
net conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
netinet conformtest: correct set of standards for which more headers are tested. 2014-03-06 17:43:46 +00:00
sys struct stat is not posix conform 2015-05-26 22:27:24 +05:30
aio.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
assert.h-data
complex.h-data
cpio.h-data
ctype.h-data
dirent.h-data
dlfcn.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
errno.h-data
fcntl.h-data
fenv.h-data
float.h-data
fmtmsg.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
fnmatch.h-data
ftw.h-data
glob.h-data
grp.h-data
iconv.h-data
inttypes.h-data
iso646.h-data
langinfo.h-data
libgen.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
limits.h-data
locale.h-data conformtest: correct POSIX expectations for locale.h. 2015-05-20 22:56:27 +00:00
math.h-data
monetary.h-data
mqueue.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
ndbm.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
netdb.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
nl_types.h-data
poll.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
pthread.h-data
pwd.h-data
regex.h-data
sched.h-data
search.h-data
semaphore.h-data conformtest: clean up POSIX expectations for semaphore.h, signal.h, tar.h. 2014-03-07 03:21:04 +00:00
setjmp.h-data
signal.h-data conformtest: clean up POSIX expectations for semaphore.h, signal.h, tar.h. 2014-03-07 03:21:04 +00:00
spawn.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
stdalign.h-data
stdarg.h-data
stdbool.h-data
stddef.h-data
stdint.h-data
stdio.h-data
stdlib.h-data conformtest: clean up POSIX expectations for stdlib.h, string.h. 2014-04-30 15:35:18 +00:00
stdnoreturn.h-data
string.h-data conformtest: clean up POSIX expectations for stdlib.h, string.h. 2014-04-30 15:35:18 +00:00
strings.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
stropts.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
syslog.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
tar.h-data conformtest: clean up POSIX expectations for semaphore.h, signal.h, tar.h. 2014-03-07 03:21:04 +00:00
termios.h-data conformtest: clean up POSIX expectations for termios.h, time.h. 2014-06-09 11:39:33 +00:00
tgmath.h-data
time.h-data conformtest: clean up POSIX expectations for termios.h, time.h. 2014-06-09 11:39:33 +00:00
uchar.h-data
ucontext.h-data conformtest: correct set of standards for which more headers are tested. 2014-03-06 17:43:46 +00:00
ulimit.h-data
unistd.h-data conformtest: clean up POSIX expectations for unistd.h. 2015-05-20 22:47:03 +00:00
utime.h-data
utmpx.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
varargs.h-data conformtest: correct set of standards for which some headers are tested. 2014-03-06 17:42:03 +00:00
wchar.h-data
wctype.h-data
wordexp.h-data