summaryrefslogtreecommitdiffstats
path: root/filter.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-10-03 07:45:00 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-10-03 07:45:00 -0700
commit502543ea94913ec4d4792dbd07151fba22220637 (patch)
treeaee75a1e3422974a602efb404b6e3c26296c4fcb /filter.h
parent82bab2edc729eacf73c04290be7c68abe0baca0b (diff)
downloadtxr-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 'filter.h')
0 files changed, 0 insertions, 0 deletions