Re: [PATCH 2/3] posix: Remove alloca usage on regex build_trtable

2021-01-11 Thread Adhemerval Zanella
On 08/01/2021 19:30, Paul Eggert wrote: > On 1/6/21 10:17 AM, Adhemerval Zanella wrote: >> __libc_use_alloca/alloca is replaced with malloc regardless. > > These allocations are so small that they should be put on the stack instead > of using malloc. I did that in Gnulib by installing the

Re: [PATCH 2/3] posix: Remove alloca usage on regex build_trtable

2021-01-08 Thread Paul Eggert
On 1/6/21 10:17 AM, Adhemerval Zanella wrote: __libc_use_alloca/alloca is replaced with malloc regardless. These allocations are so small that they should be put on the stack instead of using malloc. I did that in Gnulib by installing the attached patch. The idea is that the resulting