]> Savannah Git Hosting - gnulib.git/commit
regex: port better to AIX extensions
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Nov 2024 06:20:45 +0000 (22:20 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Nov 2024 06:51:14 +0000 (22:51 -0800)
commit67c01c9e925f54eca4f750edc4db9d90d9beb2e4
tree6cbf09c6c54fc6934ea52588da623f930d528d83
parentad9996409a876d620301ac45b4d97dce368e77fd
regex: port better to AIX extensions

Also, switch from eealloc.m4 to malloc.m4 to determine
whether malloc (0) returns nonnull.
* lib/regex_internal.c (re_node_set_alloc):
Remove special case for malloc (0).
* lib/regex_internal.h (MALLOC_0_IS_NONNULL): Remove.
* m4/regex.m4 (gl_PREREQ_REGEX): Do not require gl_EEMALLOC.
* modules/regex (Files): Remove m4/eealloc.m4, m4/malloc.m4.
(Depends-on): Add malloc-gnu.
ChangeLog
lib/regex_internal.c
lib/regex_internal.h
m4/regex.m4
modules/regex