mirror of git://sourceware.org/git/glibc.git
* sysdeps/unix/sysv/linux/paccept.c: Fix compile problem.
This commit is contained in:
parent
b7da31a164
commit
d6173baaae
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue