This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to clean out savestring, copystr, mybzero and mybcopy
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: patch to clean out savestring, copystr, mybzero and mybcopy
- From: Per Bothner <bothner at cygnus dot com>
- Date: Mon, 11 Jan 1999 17:35:01 -0800
- cc: egcs-patches at cygnus dot com
> This patch cleans out some uses of savestring, copystr, mybzero
> and mybcopy, it instead uses xstrdup, or bzero/bcopy. Okay to install?
While one can argue for using bzero vs memset,
I think bcopy should be replaced by memmove/memcpy, in all code
that runs on the "host", since we have the appropriate autoconf
support.
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner