projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f721d02
)
deps: cherry-pick libuv commit 4690204
author
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 28 May 2012 22:06:36 +0000
(22:06 +0000)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 28 May 2012 22:10:38 +0000
(22:10 +0000)
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.
deps/uv/src/unix/core.c
patch
|
blob
|
history
diff --git
a/deps/uv/src/unix/core.c
b/deps/uv/src/unix/core.c
index 657397becf7f8d1561fa78cdcb49936c26453569..24d10a10a5dcdc9ba30d7fd801bf95ceb1e8aa0a 100644
(file)
--- a/
deps/uv/src/unix/core.c
+++ b/
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;