Re: Fw: [PATCH] Improve execl* functions
C Howland <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CANk6obSvTgV-SgxtOUk9Cb+XPjxgHUTOSrVpPeMtuS_VkwJ1=Q@mail.gmail.com> |
> ------------------------------ > *From:* Federico Terraneo <[email protected]> > *Sent:* Friday, January 31, 2025 10:02 AM > *To:* Richard Earnshaw (lists) <[email protected]>; > [email protected] <[email protected]> > *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