regex: remove alloca usage on regex set_regs

System Internals / glibc - Adhemerval Zanella [linaro.org] - 9 February 2021 19:57 UTC

It syncs with gnulib version b6207ab38. It replaces the regmatch_t with a dynarray list.

Checked on x86_64-linux-gnu.

f0908ba118 regex: remove alloca usage on regex set_regs
posix/regexec.c | 40 ++++++++++++++++++----------------------
1 file changed, 18 insertions(+), 22 deletions(-)

Upstream: sourceware.org


  • Share