From: Ralph Corderoy Date: Sun, 16 Oct 2016 16:43:56 +0000 (+0100) Subject: Tweak mh_xmalloc(); print size in error, allocate zero bytes. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/4d78228c5d21c6320ecca02f587e167d0c6f024d?hp=4d78228c5d21c6320ecca02f587e167d0c6f024d Tweak mh_xmalloc(); print size in error, allocate zero bytes. 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 rather than exit; it's sometimes useful to allocate zero, but some older platforms might not like it. ---