From 9af652f60865624b4f44605c0c8bd4c23a18a2a7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 20 Aug 2001 06:37:56 +0000 Subject: Update. 2001-08-19 Ulrich Drepper * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_mem.c: Likewise. * sunrpc/svc_authux.c (_svcauth_unix): Likewise. * sunrpc/rpc_cmsg.c: Likewise. * sunrpc/getrpcport.c (getrpcport): Likewise. * sunrpc/clnt_simp.c (callrpc): Likewise. * sunrpc/clnt_gen.c (clnt_create): Likewise. * string/envz.c: Likewise. * po/ko.po: Update from translation team. * argp/argp-help.c: Handle wide oriented stderr stream. * conform/conformtest.pl: test requires . --- sunrpc/getrpcport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sunrpc/getrpcport.c') diff --git a/sunrpc/getrpcport.c b/sunrpc/getrpcport.c index 2e12482..a8f1326 100644 --- a/sunrpc/getrpcport.c +++ b/sunrpc/getrpcport.c @@ -67,7 +67,7 @@ getrpcport (const char *host, u_long prognum, u_long versnum, u_int proto) buffer = __alloca (buflen); } - bcopy (hp->h_addr, (char *) &addr.sin_addr, hp->h_length); + memcpy ((char *) &addr.sin_addr, hp->h_addr, hp->h_length); addr.sin_family = AF_INET; addr.sin_port = 0; return pmap_getport (&addr, prognum, versnum, proto); -- cgit v1.1