glibc/conform/data/sys/select.h-data
Joseph Myers d6cc0b4fea conformtest: Fix pselect expectations.
conformtest expected pselect for XOPEN2K and POSIX2008 (correctly),
but not for XOPEN2K8 (wrongly).  This patch fixes the data to expect
it for XOPEN2K8 as well.

(As for all such fixes based on failures seen from the tests, there is
no guarantee that the data is fully correct for a particular standard
after the fix; headers and data may well have matching bugs.  So far
I've only reviewed ISO, ISO99, ISO11 and POSIX data in detail, though
I hope eventually to review the others.)

Tested for x86_64 and x86.

	* conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
	* conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
	Remove variable.
	(test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
	(test-xfail-XOPEN2K8/utmpx.h/conform).
2015-06-19 20:52:44 +00:00

36 lines
863 B
Plaintext

#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
type time_t
type suseconds_t
type {struct timeval}
element {struct timeval} time_t tv_sec
element {struct timeval} suseconds_t tv_usec
type sigset_t
type {struct timespec}
element {struct timespec} time_t tv_sec
element {struct timespec} long tv_nsec
type fd_set
#if defined XPG3 || defined XPG4 || defined UNIX98
element fd_set long fds_bits []
#endif
macro FD_CLR
macro FD_ISSET
macro FD_SET
macro FD_ZERO
macro FD_SETSIZE
#if defined XOPEN2K || defined POSIX2008 || defined XOPEN2K8
function int pselect (int, fd_set*, fd_set*, fd_set*, const struct timespec*, const sigset_t*)
#endif
function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*)
allow-header signal.h
allow-header sys/time.h
allow-header time.h
#endif