]> git.ipfire.org Git - thirdparty/ccache.git/commit
Make x_malloc and x_calloc always return NULL for zero byte allocations
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 9 Nov 2010 21:40:43 +0000 (22:40 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 9 Nov 2010 21:40:43 +0000 (22:40 +0100)
commit5912bba9876d5a85f89ea96253037968becda489
tree4d35790e1e1ecccca582e734e757cb60b1f26345
parentce5d7154d2bed2832375cfd6dde4400fb1a1404a
Make x_malloc and x_calloc always return NULL for zero byte allocations

This helps making sure that the code handles NULL return values regardless
of platform.
util.c