mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
345118d7f5
This patch XFAILs the conformtest tv_nsec tests for x32 so that the incorrect type does not potentially hide other failures. As this is not a fix for the bug, it should remain open in Bugzilla. Tested (compilation only) with build-many-glibcs.py. [BZ #16437] * sysdeps/unix/sysv/linux/x86_64/x32/Makefile [$(subdir) = conform] (conformtest-xfail-conds): New variable. * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for x86_64-x32-linux. * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise. * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise. * conform/data/time.h-data (timespec.tv_nsec): Likewise.
37 lines
925 B
Plaintext
37 lines
925 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
|
|
// Bug 16437: tv_nsec has wrong type.
|
|
xfail[x86_64-x32-linux]-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
|