]> code.delx.au - gnu-emacs/commit
Restore the calloc family.
authorWolfgang Jenkner <wjenkner@inode.at>
Tue, 9 Feb 2016 23:04:40 +0000 (15:04 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Feb 2016 23:25:58 +0000 (15:25 -0800)
commit09ece4d341a7e07fab7be22868ebcadae8641c79
tree5bd96d0c6b88c1a017212ef912200c5b7e5b8ba9
parenta0e3180db181d1bc7ccb883f8f2b55e76a3703f2
Restore the calloc family.

* src/gmalloc.c (calloc, gcalloc, hybrid_calloc): Restore definitions.
They were lost in a4817d8 but calloc is still (marginally) used in
code statically liked with emacs, so hybrid_calloc is needed.
Also, in the non-hybrid case, we can't get rid of calloc anyway as
other libraries liked with emacs may need it.
* src/conf_post.h: Restore redefinition of calloc to hybrid_calloc.
src/conf_post.h
src/gmalloc.c