diff options
author | isaacs <i@izs.me> | 2011-09-12 17:10:51 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-09-12 17:11:03 -0700 |
commit | 8b6277a4602d72317d99849994b140e88db7ff11 (patch) | |
tree | 5e5d68189e48ae086dada54b6ba8e9d558d6ccc4 /deps/uv | |
parent | 718032777d486b9dcedcfeabd9a35e8ab5d5e15b (diff) | |
download | nodejs-8b6277a4602d72317d99849994b140e88db7ff11.tar.gz nodejs-8b6277a4602d72317d99849994b140e88db7ff11.tar.bz2 nodejs-8b6277a4602d72317d99849994b140e88db7ff11.zip |
Update uv to 3c00d87b4239a6b8358e2085f806170c3eca10cf
Diffstat (limited to 'deps/uv')
-rw-r--r-- | deps/uv/include/uv.h | 3 | ||||
-rw-r--r-- | deps/uv/src/unix/error.c | 1 | ||||
-rw-r--r-- | deps/uv/src/uv-common.c | 1 | ||||
-rw-r--r-- | deps/uv/src/win/error.c | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/deps/uv/include/uv.h b/deps/uv/include/uv.h index 13b40d86b..bf7e88ad3 100644 --- a/deps/uv/include/uv.h +++ b/deps/uv/include/uv.h @@ -183,7 +183,8 @@ typedef enum { UV_EAINONAME, UV_EAISERVICE, UV_EAISOCKTYPE, - UV_ESHUTDOWN + UV_ESHUTDOWN, + UV_EEXIST } uv_err_code; typedef enum { diff --git a/deps/uv/src/unix/error.c b/deps/uv/src/unix/error.c index 96615f36c..3520eec71 100644 --- a/deps/uv/src/unix/error.c +++ b/deps/uv/src/unix/error.c @@ -83,6 +83,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) { case EADDRINUSE: return UV_EADDRINUSE; case EADDRNOTAVAIL: return UV_EADDRNOTAVAIL; case ENOTCONN: return UV_ENOTCONN; + case EEXIST: return UV_EEXIST; default: return UV_UNKNOWN; } diff --git a/deps/uv/src/uv-common.c b/deps/uv/src/uv-common.c index ec31688fc..51188337b 100644 --- a/deps/uv/src/uv-common.c +++ b/deps/uv/src/uv-common.c @@ -87,6 +87,7 @@ const char* uv_err_name(uv_err_t err) { case UV_EPROTONOSUPPORT: return "EPROTONOSUPPORT"; case UV_EPROTOTYPE: return "EPROTOTYPE"; case UV_ETIMEDOUT: return "ETIMEDOUT"; + case UV_EEXIST: return "EEXIST"; default: assert(0); return NULL; diff --git a/deps/uv/src/win/error.c b/deps/uv/src/win/error.c index ed4e0d512..8de90bee1 100644 --- a/deps/uv/src/win/error.c +++ b/deps/uv/src/win/error.c @@ -130,6 +130,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) { case ERROR_BROKEN_PIPE: return UV_EOF; case ERROR_PIPE_BUSY: return UV_EBUSY; case ERROR_SEM_TIMEOUT: return UV_ETIMEDOUT; + case ERROR_ALREADY_EXISTS: return UV_EEXIST; default: return UV_UNKNOWN; } } |