mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
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>.
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user