mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* sysdeps/unix/sysv/linux/paccept.c: Fix compile problem.
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
2008-07-28 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/paccept.c: Fix compile problem.
|
||||
|
||||
* resolv/res_send.c (__libc_res_nsend): Take additional parameter.
|
||||
Use it instead of locally defined resplen2 variable.
|
||||
(res_nsend): Adjust for __libc_res_nsend interface change.
|
||||
|
@ -30,12 +30,12 @@ paccept (int fd, __SOCKADDR_ARG addr, socklen_t *addr_len,
|
||||
const __sigset_t *ss, int flags)
|
||||
{
|
||||
if (SINGLE_THREAD_P)
|
||||
return INLINE_SYSCALL (paccept, 6, fd, addr, addr_len, ss,
|
||||
return INLINE_SYSCALL (paccept, 6, fd, addr.__sockaddr__, addr_len, ss,
|
||||
_NSIG / 8, flags);
|
||||
|
||||
int oldtype = LIBC_CANCEL_ASYNC ();
|
||||
|
||||
int result = INLINE_SYSCALL (paccept, 6, fd, addr, addr_len, ss,
|
||||
int result = INLINE_SYSCALL (paccept, 6, fd, addr.__sockaddr__, addr_len, ss,
|
||||
_NSIG / 8, flags);
|
||||
|
||||
LIBC_CANCEL_RESET (oldtype);
|
||||
|
Reference in New Issue
Block a user