Upgrade libuv to 2c7e8bb

pull/5370/head
Ryan Dahl 2011-10-20 17:52:32 -07:00
parent 00bbe958c4
commit fb3cccc257
3 changed files with 4 additions and 0 deletions

View File

@ -865,6 +865,8 @@ struct uv_getaddrinfo_s {
*
* uv_freeaddrinfo() must be called after completion to free the addrinfo
* structure.
*
* On error NXDOMAIN the status code will be non-zero and UV_ENOENT returned.
*/
int uv_getaddrinfo(uv_loop_t*,
uv_getaddrinfo_t* handle,

View File

@ -103,6 +103,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ENOTDIR: return UV_ENOTDIR;
case ENOTCONN: return UV_ENOTCONN;
case EEXIST: return UV_EEXIST;
case EAI_NONAME: return UV_ENOENT;
default: return UV_UNKNOWN;
}

View File

@ -129,6 +129,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ERROR_PIPE_BUSY: return UV_EBUSY;
case ERROR_SEM_TIMEOUT: return UV_ETIMEDOUT;
case ERROR_ALREADY_EXISTS: return UV_EEXIST;
case WSAHOST_NOT_FOUND: return UV_ENOENT;
default: return UV_UNKNOWN;
}
}