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 . --- string/envz.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'string') diff --git a/string/envz.c b/string/envz.c index 83de595af9..3805b2c410 100644 --- a/string/envz.c +++ b/string/envz.c @@ -1,5 +1,5 @@ /* Routines for dealing with '\0' separated environment vectors - Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Miles Bader @@ -104,9 +104,9 @@ envz_add (char **envz, size_t *envz_len, const char *name, const char *value) if (new_envz) { - bcopy (name, new_envz + old_envz_len, name_len); + memcpy (new_envz + old_envz_len, name, name_len); new_envz[old_envz_len + name_len] = SEP; - bcopy (value, new_envz + old_envz_len + name_len + 1, value_len); + memcpy (new_envz + old_envz_len + name_len + 1, value, value_len); new_envz[new_envz_len - 1] = 0; *envz = new_envz; @@ -163,7 +163,7 @@ envz_strip (char **envz, size_t *envz_len) left -= entry_len; if (! index (entry, SEP)) /* Null entry. */ - bcopy (entry, entry + entry_len, left); + memmove (entry + entry_len, entry, left); else entry += entry_len; } -- cgit 1.4.1