From: Ralph Corderoy Date: Sun, 16 Oct 2016 17:17:31 +0000 (+0100) Subject: Tweak mh_xcalloc(); print size on error, follow POSIX. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/3910a511d4d9ad19e5eeff769881f4e52f498947?ds=sidebyside;hp=3910a511d4d9ad19e5eeff769881f4e52f498947 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. ---