[zeromq-dev] [PATCH] [CL binding] zmq:msg-data-as-string returns a Lisp string with a trailing null

Kamil Shakirov kamils80 at gmail.com
Fri Oct 1 15:23:32 CEST 2010


Hi,

zmq:msg-data-as-string returns a Lisp string with a trailing null if used with a
freshly created 0MQ message initialized by a Lisp string. I would expect it to be
a normal Lisp string without trailing null by default so it could be passed around.

Plus from zguide:

"ØMQ strings are length-specified, and are sent on the wire without a trailing null".


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Message-initiliazed-with-string-is-not-NUL-terminate.patch
Type: application/octet-stream
Size: 1843 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101001/54ad53ad/attachment.obj>
-------------- next part --------------


--ska.


More information about the zeromq-dev mailing list