This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] eliminate use-cases of obsolete functions


On Aug 23 07:09, Ralf Corsepius wrote:
> Hi,
> 
> The patch below is aiming at eliminating two use-cases of functions
> POSIX has declared obsolete.
> 
> Ralf
> 
> NB.: I am not sure, if using memcpy instead of bcopy is correct or
> if this bcopy should better be replaced with memmove, because I
> don't know if setenv_r's src/dst memory areas may overlap or not.

> 2011-08-23  Ralf Cors??pius  <...>
> 
> 	* libc/stdlib/putenv_r.c: Use "strchr" instead of obsolete "index".
> 	* libc/stdlib/setenv_r.c: Use "memcpy" instead of obsolete "bcopy".

Excellent.  Please go ahead.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]