Fw: [PATCH] Improve execl* functions
C Howland
cc1964t@gmail.com
Fri Jan 31 16:32:20 GMT 2025
> ------------------------------
> *From:* Federico Terraneo <fede.tft@hotmail.it>
> *Sent:* Friday, January 31, 2025 10:02 AM
> *To:* Richard Earnshaw (lists) <Richard.Earnshaw@arm.com>;
> newlib@sourceware.org <newlib@sourceware.org>
> *Subject:* Re: [PATCH] Improve execl* functions
>
>
> ...
>
> There apparently is nothing wrong in my autotools installation.
> I thus propose those two patches.
>
> The first just updates newlib/Makefile.in so it is consistent with the
> current newlib directory.
>
> The second is the actual patch I was working on.
>
Federico:
Two minor things.
First, typo in repeated comment "override the default an use malloc()
*/", change "an" to "and".
Second, suggest gating the associated include files as the code is
gated (marked as a patch to the result of your patch):
+#ifdef _EXECL_USE_MALLOC
#include <errno.h>
#include <stdlib.h>
+#else
#include <alloca.h>
+#endif
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20250131/5765f9a6/attachment-0001.htm>
More information about the Newlib
mailing list