about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-11-25 21:59:08 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-11-26 09:10:10 -0800
commit7f3501275d8f54d6a393db5bafc0a189a01dc200 (patch)
treef8565cc994f280cb21fd4fed36ff31d0f9e87faf /src/rustllvm/RustWrapper.cpp
parent679a2c042fb2541f55f1192ca97672907b258337 (diff)
downloadrust-7f3501275d8f54d6a393db5bafc0a189a01dc200.tar.gz
rust-7f3501275d8f54d6a393db5bafc0a189a01dc200.zip
Correctly handle libuv errors in addrinfo calls
It turns out that libuv was returning ENOSPC to us in our usage of the
uv_ipX_name functions. It also turns out that there may be an off-by-one in
libuv. For now just add one to the buffer size and handle the return value
correctly.

Closes #10663
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions