Let zalloc() use calloc() if it's available
authorFabian Keil <fk@fabiankeil.de>
Mon, 29 May 2017 10:05:46 +0000 (10:05 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 29 May 2017 10:05:46 +0000 (10:05 +0000)
commit2f180f0a2a126bd3da1b5bf3466ee1ed247cf91e
tree9a3d24085197a2c0bf3a4fbeaeb01aad99a4b2ff
parent1483eec15c8361b62df101e301d2c9e63def546b
Let zalloc() use calloc() if it's available

In some situations using calloc() can be faster than
malloc() + memset() and it should never be slower.

In the real world the impact of this change is not
expected to be noticeable.

Sponsored by: Robert Klemme
configure.in
miscutil.c