From 8b6277a4602d72317d99849994b140e88db7ff11 Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 12 Sep 2011 17:10:51 -0700 Subject: Update uv to 3c00d87b4239a6b8358e2085f806170c3eca10cf --- deps/uv/include/uv.h | 3 ++- deps/uv/src/unix/error.c | 1 + deps/uv/src/uv-common.c | 1 + deps/uv/src/win/error.c | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) (limited to 'deps/uv') 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; } } -- cgit v1.2.3