[PATCH] Initialize _reent with memset, also in the _REENT_SMALL case
Corinna Vinschen
vinschen@redhat.com
Mon Jun 24 09:28:00 GMT 2013
On Jun 23 13:14, Federico Terraneo wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> A while ago this patch was applied
>
> http://www.sourceware.org/ml/newlib/2013/msg00304.html
>
> to optimize _REENT_INIT_PTR() with a memset. However, the same change
> was not done in the _REENT_SMALL case. This patch also removes
> _ATEXIT_INIT_PTR() and _REENT_INIT_ATEXIT_PTR() since they're no longer
> used.
>
> newlib/ChangeLog
> 2013-06-23 Terraneo Federico <...>
>
> * libc/include/sys/reent.h (_ATEXIT_INIT_PTR): Remove.
> (_REENT_INIT_ATEXIT_PTR): Remove.
> (_REENT_INIT_PTR): Reduce code size if _REENT_SMALL.
Patch applied.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
More information about the Newlib
mailing list