]> Savannah Git Hosting - gnulib.git/commit
calloc: configure more like malloc
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Nov 2024 20:24:03 +0000 (12:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2024 05:40:17 +0000 (21:40 -0800)
commit78ede6f3150e3895e18eca9604612fffd4991d7e
tree2b38fe8d14a4c720a205c5481906e4ef4f2a13d4
parent9c3ebd3bec597d94d714b62842dff6515afd0a28
calloc: configure more like malloc

* m4/calloc.m4 (gl_FUNC_CALLOC_IF): Rename from _AC_FUNC_CALLOC_IF
since this is not derived from Autoconf.  All uses changed.
Redo implementation so that it is more like _AC_FUNC_MALLOC_IF;
this fixes some problems with "volatile" and modernizes the known
platforms.
ChangeLog
m4/calloc.m4