1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
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:
Ulrich Drepper
2001-08-20 06:37:56 +00:00
parent 091b895531
commit 9af652f608
12 changed files with 950 additions and 742 deletions

View File

@ -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 <miles@gnu.ai.mit.edu>
@ -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;
}