]> Savannah Git Hosting - gnulib.git/commit
regex: use re_malloc etc. consistently
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Dec 2017 23:53:47 +0000 (15:53 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Dec 2017 23:56:19 +0000 (15:56 -0800)
commitf583f328bec489dd59b54ecc1cc640843ea261cf
tree09528d8b2315854e835e35e710514a63ef134357
parent5f1c957c4ba1feb5a2a97dfccf1ec4f3c6cd7da8
regex: use re_malloc etc. consistently

Problem and original patch reported by Arnold Robbins in:
https://sourceware.org/ml/libc-alpha/2017-12/msg00241.html
* lib/regcomp.c (re_comp):
* lib/regexec.c (push_fail_stack, build_trtable, match_ctx_clean):
Use re_malloc/re_realloc/re_free instead of malloc/realloc/free.
ChangeLog
lib/regcomp.c
lib/regexec.c