summaryrefslogtreecommitdiffstats
path: root/gencadr.txr
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2021-09-10 02:53:58 -0400
committerKaz Kylheku <kaz@kylheku.com>2021-09-11 09:27:10 -0700
commit13883a15ee8c1d9617f45ebcd6fdae8e01291e20 (patch)
treed00aa1db028615978d454993b72bea456198cea9 /gencadr.txr
parent927e028829d895a302978a3baa01c653ece7b6d1 (diff)
downloadtxr-13883a15ee8c1d9617f45ebcd6fdae8e01291e20.tar.gz
txr-13883a15ee8c1d9617f45ebcd6fdae8e01291e20.tar.bz2
txr-13883a15ee8c1d9617f45ebcd6fdae8e01291e20.zip
sockets: throw exception if socket call fails.
The open_socket function was not checking the result of the socket call for failure, which would cause datagram socket streams to be initialized with an invalid file descriptor (-1) and, when opening stream sockets, throw an error not representative of the actual problem. * socket.c (open_socket): Throw exception if socket call fails.
Diffstat (limited to 'gencadr.txr')
0 files changed, 0 insertions, 0 deletions