diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2012-02-21 13:11:39 -0800 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 13:54:01 -0700 |
commit | 27a3964ff7891a5f240ef08b3294714ef6e28074 (patch) | |
tree | c5a54c7cb51f643343fba0373f26d3ed7a725941 /WISH | |
parent | db47a91d404d74295213c03cb8b10301fa95f939 (diff) | |
download | luasocket-27a3964ff7891a5f240ef08b3294714ef6e28074.tar.gz luasocket-27a3964ff7891a5f240ef08b3294714ef6e28074.tar.bz2 luasocket-27a3964ff7891a5f240ef08b3294714ef6e28074.zip |
socket_strerror() sometimes maps errno, instead of its argument
Looks like a historical bug. Its err argument is an error number, but
if it isn't using a custom error message for it, it just calls
strerror() with the errno global, effectively ignoring its argument
and returning a semi-random string.
Diffstat (limited to 'WISH')
0 files changed, 0 insertions, 0 deletions