mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-11 12:50:58 +08:00
linux: pselect: Remove CALL_PSELECT6 macro
Nothing defines CALL_PSELECT6 in the current tree, so remove it. Tested with: - make PARALLELMFLAGS="-j8" && make xcheck PARALLELMFLAGS="-j8" (x86_64) - scripts/build-many-glibcs.py
This commit is contained in:
parent
81a1fa6cbf
commit
f2e30cc0f8
@ -59,15 +59,8 @@ __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
|
|||||||
data.ss = (__syscall_ulong_t) (uintptr_t) sigmask;
|
data.ss = (__syscall_ulong_t) (uintptr_t) sigmask;
|
||||||
data.ss_len = _NSIG / 8;
|
data.ss_len = _NSIG / 8;
|
||||||
|
|
||||||
int result;
|
int result = SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds,
|
||||||
|
timeout, &data);
|
||||||
#ifndef CALL_PSELECT6
|
|
||||||
# define CALL_PSELECT6(nfds, readfds, writefds, exceptfds, timeout, data) \
|
|
||||||
SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds, timeout, data)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
result = CALL_PSELECT6 (nfds, readfds, writefds, exceptfds, timeout,
|
|
||||||
&data);
|
|
||||||
|
|
||||||
# ifndef __ASSUME_PSELECT
|
# ifndef __ASSUME_PSELECT
|
||||||
if (result == -1 && errno == ENOSYS)
|
if (result == -1 && errno == ENOSYS)
|
||||||
|
Loading…
Reference in New Issue
Block a user