aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/svc_tcp.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1998-03-01 00:56:42 +0000
committerRichard Henderson <rth@redhat.com>1998-03-01 00:56:42 +0000
commit41df5ed40a50159fcb3b68ad734248e73f7f70de (patch)
tree5963e111c90cef8b4bfefda45f9d4244f7555dfc /sunrpc/svc_tcp.c
parentf024c19647c20b3529372cb41682b4cf962447c4 (diff)
downloadglibc-41df5ed40a50159fcb3b68ad734248e73f7f70de.tar
glibc-41df5ed40a50159fcb3b68ad734248e73f7f70de.tar.gz
glibc-41df5ed40a50159fcb3b68ad734248e73f7f70de.tar.bz2
glibc-41df5ed40a50159fcb3b68ad734248e73f7f70de.zip
* shlib-versions: Match alpha*. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex. * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove. * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New. Implement copysign* with and without __ prefix. Likewise for fabs; use builtin for gcc 2.8. (floor*): New. (fdim*): New. * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New. (R_SPARC*): Match current v9 ABI. * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long. * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t. * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise. * sysdeps/generic/getresgid.c: Use prototype form because of warning. * sysdeps/unix/sysv/linux/getdents.c: Likewise. * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. * sysdeps/unix/grantpt.c (argv): Fix consts. * sysdeps/unix/sysv/linux/getpt.c: Include <string.h> * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1998-03-01 Richard Henderson <rth@cygnus.com> * shlib-versions: Match alpha*. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex. * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove. * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New. Implement copysign* with and without __ prefix. Likewise for fabs; use builtin for gcc 2.8. (floor*): New. (fdim*): New. * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New. (R_SPARC*): Match current v9 ABI. * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long. * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t. * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise. * sysdeps/generic/getresgid.c: Use prototype form because of warning. * sysdeps/unix/sysv/linux/getdents.c: Likewise. * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. * sysdeps/unix/grantpt.c (argv): Fix consts. * sysdeps/unix/sysv/linux/getpt.c: Include <string.h> * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
Diffstat (limited to 'sunrpc/svc_tcp.c')
-rw-r--r--sunrpc/svc_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/svc_tcp.c b/sunrpc/svc_tcp.c
index e14a9ad770..8d728bd47d 100644
--- a/sunrpc/svc_tcp.c
+++ b/sunrpc/svc_tcp.c
@@ -130,7 +130,7 @@ svctcp_create (int sock, u_int sendsize, u_int recvsize)
SVCXPRT *xprt;
struct tcp_rendezvous *r;
struct sockaddr_in addr;
- size_t len = sizeof (struct sockaddr_in);
+ socklen_t len = sizeof (struct sockaddr_in);
if (sock == RPC_ANYSOCK)
{
@@ -232,7 +232,7 @@ rendezvous_request (SVCXPRT *xprt, struct rpc_msg *errmsg)
int sock;
struct tcp_rendezvous *r;
struct sockaddr_in addr;
- size_t len;
+ socklen_t len;
r = (struct tcp_rendezvous *) xprt->xp_p1;
again: