aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/svc_authux.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/svc_authux.c
parent091b895531aabba1adc36ac6b68dd91ba52a0945 (diff)
downloadglibc-9af652f60865624b4f44605c0c8bd4c23a18a2a7.tar
glibc-9af652f60865624b4f44605c0c8bd4c23a18a2a7.tar.gz
glibc-9af652f60865624b4f44605c0c8bd4c23a18a2a7.tar.bz2
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/svc_authux.c')
-rw-r--r--sunrpc/svc_authux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/svc_authux.c b/sunrpc/svc_authux.c
index 08065b4184..bf533a573c 100644
--- a/sunrpc/svc_authux.c
+++ b/sunrpc/svc_authux.c
@@ -80,7 +80,7 @@ _svcauth_unix (struct svc_req *rqst, struct rpc_msg *msg)
stat = AUTH_BADCRED;
goto done;
}
- bcopy ((caddr_t) buf, aup->aup_machname, (u_int) str_len);
+ memcpy (aup->aup_machname, (caddr_t) buf, (u_int) str_len);
aup->aup_machname[str_len] = 0;
str_len = RNDUP (str_len);
buf = (int32_t *) ((char *) buf + str_len);