diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-10-03 07:45:00 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-10-03 07:45:00 -0700 |
commit | 502543ea94913ec4d4792dbd07151fba22220637 (patch) | |
tree | aee75a1e3422974a602efb404b6e3c26296c4fcb /txr.c | |
parent | 82bab2edc729eacf73c04290be7c68abe0baca0b (diff) | |
download | txr-502543ea94913ec4d4792dbd07151fba22220637.tar.gz txr-502543ea94913ec4d4792dbd07151fba22220637.tar.bz2 txr-502543ea94913ec4d4792dbd07151fba22220637.zip |
New method: str-addr.
* socket.c (sock_set_entries): Intern str-addr symbol.
There is no autoload on this because the struct types of
which this is a method don't exist if the socket
module has not been loaded.
* stdlib/socket.tl ((sockaddr-in str-addr), (sockaddr-in6
str-addr), (sockaddr-un str-addr)): New methods.
* tests/014/str-addr.tl: New file. This provides
coverage not just for the str-addr method, but the
hitherto untested address to text functions.
This is why the bug was found, that was addressed
in the previous commit. The test case which produces
"8000::1" was actually producing "800:1".
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'txr.c')
0 files changed, 0 insertions, 0 deletions