[zeromq-dev] [PATCH] tell users explicitly when memory runs out

Pieter Hintjens ph at imatix.com
Tue Feb 22 14:19:21 CET 2011

Hi Martin,

Attached is the patch to wrap malloc with a suitable warning. It's
used for all mallocs except zmq_msg_init_size which works as before
(returns ENOMEM if the request was too large).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Added-explicit-error-message-in-case-of-memory-exhau.patch
Type: application/octet-stream
Size: 10440 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110222/3a10c36e/attachment.obj>

More information about the zeromq-dev mailing list