summary refs log tree commit diff
path: root/sunrpc/rpc_cmsg.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-20 06:37:56 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-20 06:37:56 +0000
commit9af652f60865624b4f44605c0c8bd4c23a18a2a7 (patch)
tree74905537f4aacd0ad0f819845808639df06d8612 /sunrpc/rpc_cmsg.c
parent091b895531aabba1adc36ac6b68dd91ba52a0945 (diff)
downloadglibc-9af652f60865624b4f44605c0c8bd4c23a18a2a7.tar.gz
glibc-9af652f60865624b4f44605c0c8bd4c23a18a2a7.tar.xz
glibc-9af652f60865624b4f44605c0c8bd4c23a18a2a7.zip
Update.
2001-08-19  Ulrich Drepper  <drepper@redhat.com>

	* 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: <inttypes.h> test requires <stddef.h>.
Diffstat (limited to 'sunrpc/rpc_cmsg.c')
-rw-r--r--sunrpc/rpc_cmsg.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sunrpc/rpc_cmsg.c b/sunrpc/rpc_cmsg.c
index 3930de3e93..8916504a39 100644
--- a/sunrpc/rpc_cmsg.c
+++ b/sunrpc/rpc_cmsg.c
@@ -82,7 +82,7 @@ xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg)
 	  IXDR_PUT_INT32 (buf, oa->oa_length);
 	  if (oa->oa_length)
 	    {
-	      bcopy (oa->oa_base, (caddr_t) buf, oa->oa_length);
+	      memcpy ((caddr_t) buf, oa->oa_base, oa->oa_length);
 	      buf = (int32_t *) ((char *) buf + RNDUP (oa->oa_length));
 	    }
 	  oa = &cmsg->rm_call.cb_verf;
@@ -90,7 +90,7 @@ xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg)
 	  IXDR_PUT_INT32 (buf, oa->oa_length);
 	  if (oa->oa_length)
 	    {
-	      bcopy (oa->oa_base, (caddr_t) buf, oa->oa_length);
+	      memcpy ((caddr_t) buf, oa->oa_base, oa->oa_length);
 	      /* no real need....
 	         buf = (long *) ((char *) buf + RNDUP(oa->oa_length));
 	       */
@@ -138,8 +138,7 @@ xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg)
 		}
 	      else
 		{
-		  bcopy ((caddr_t) buf, oa->oa_base,
-			 oa->oa_length);
+		  memcpy (oa->oa_base, (caddr_t) buf, oa->oa_length);
 		  /* no real need....
 		     buf = (long *) ((char *) buf
 		     + RNDUP(oa->oa_length));
@@ -179,8 +178,7 @@ xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg)
 		}
 	      else
 		{
-		  bcopy ((caddr_t) buf, oa->oa_base,
-			 oa->oa_length);
+		  memcpy (oa->oa_base, (caddr_t) buf, oa->oa_length);
 		  /* no real need...
 		     buf = (long *) ((char *) buf
 		     + RNDUP(oa->oa_length));