Browse Source

deps: cherry-pick libuv commit 4690204

libuv cannot be upgraded right now (API change in upstream libuv) but this
commit fixes a segmentation fault on SunOS systems, hence the cherry-pick.
v0.9.1-release
Ben Noordhuis 13 years ago
parent
commit
0bd410a66a
  1. 3
      deps/uv/src/unix/core.c

3
deps/uv/src/unix/core.c

@ -317,8 +317,7 @@ static int uv_getaddrinfo_done(eio_req* req_) {
uv_getaddrinfo_t* req = req_->data;
struct addrinfo *res = req->res;
#if __sun
uv_getaddrinfo_t* handle = req->data;
size_t hostlen = strlen(handle->hostname);
size_t hostlen = strlen(req->hostname);
#endif
req->res = NULL;

Loading…
Cancel
Save