diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-03-31 21:33:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-03-31 21:33:32 -0700 |
commit | c2c6c3c8c66855d9ccbe079015355ae8db8ff5e5 (patch) | |
tree | 379ebb7a4e9388d938b711256dba03d4c2d989a0 /lisplib.h | |
parent | c27f83bdae5eb00206a478f7764df4fdaa48fc76 (diff) | |
download | txr-c2c6c3c8c66855d9ccbe079015355ae8db8ff5e5.tar.gz txr-c2c6c3c8c66855d9ccbe079015355ae8db8ff5e5.tar.bz2 txr-c2c6c3c8c66855d9ccbe079015355ae8db8ff5e5.zip |
Bugfix: support abstract UNIX socket addresses on Linux.
Making it work as already documented.
* socket.c (MIN): New macro.
(sockaddr_pack): Use utf8_dup_to_buf to convert
Unix socket path to a buffer of UTF-8 bytes, possibly with one
or more embedded null bytes. Copy as much of this as fits into
the sun_path member of struct sockaddr_un.
* txr.1: Improve documentation about the abstract names
on Linux.
Diffstat (limited to 'lisplib.h')
0 files changed, 0 insertions, 0 deletions