]> diplodocus.org Git - nmh/commit
Tweak mh_xcalloc(); print size on error, follow POSIX.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 17:17:31 +0000 (18:17 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 17:17:31 +0000 (18:17 +0100)
commit3910a511d4d9ad19e5eeff769881f4e52f498947
tree875a06726f19dbb3d4707f8a6f7791b6d5fd9659
parent1bd5129468527b24516a9efed711630a33e41a59
Tweak mh_xcalloc();  print size on error, follow POSIX.
Using `%zu' for the size_t value.  That might be a problem on older
platforms, but we'll see.  If asked for zero bytes then allocate one to
get a unique pointer.
h/utils.h
sbr/utils.c