diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-14 06:52:01 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-14 06:52:01 -0700 |
commit | 9a03b24eb2cc94a2e95f6a50db60ea6ed3004130 (patch) | |
tree | c31fc5ead97a7b7a1b17fbe8cece870dc1a3b29c /signal.c | |
parent | 10b6ffd9a5409dc578dfaa58e0d137d3b6c74657 (diff) | |
download | txr-9a03b24eb2cc94a2e95f6a50db60ea6ed3004130.tar.gz txr-9a03b24eb2cc94a2e95f6a50db60ea6ed3004130.tar.bz2 txr-9a03b24eb2cc94a2e95f6a50db60ea6ed3004130.zip |
Fix error handling in dgram case of sock-accept.
* socket.c (sock_accept): Reduce scope of unwind catch around
recvfrom call. Add missing check nbytes == -1. Branch to
failed label in dup failed case, instead of throwing
exception with truncated "unable to" message.
Diffstat (limited to 'signal.c')
0 files changed, 0 insertions, 0 deletions