Browse Source

Update uv to 3c00d87b4239a6b8358e2085f806170c3eca10cf

isaacs 13 years ago
parent
commit
8b6277a460
  1. 3
      deps/uv/include/uv.h
  2. 1
      deps/uv/src/unix/error.c
  3. 1
      deps/uv/src/uv-common.c
  4. 1
      deps/uv/src/win/error.c

3
deps/uv/include/uv.h

@ -183,7 +183,8 @@ typedef enum {
UV_EAINONAME, UV_EAINONAME,
UV_EAISERVICE, UV_EAISERVICE,
UV_EAISOCKTYPE, UV_EAISOCKTYPE,
UV_ESHUTDOWN UV_ESHUTDOWN,
UV_EEXIST
} uv_err_code; } uv_err_code;
typedef enum { typedef enum {

1
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 EADDRINUSE: return UV_EADDRINUSE;
case EADDRNOTAVAIL: return UV_EADDRNOTAVAIL; case EADDRNOTAVAIL: return UV_EADDRNOTAVAIL;
case ENOTCONN: return UV_ENOTCONN; case ENOTCONN: return UV_ENOTCONN;
case EEXIST: return UV_EEXIST;
default: return UV_UNKNOWN; default: return UV_UNKNOWN;
} }

1
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_EPROTONOSUPPORT: return "EPROTONOSUPPORT";
case UV_EPROTOTYPE: return "EPROTOTYPE"; case UV_EPROTOTYPE: return "EPROTOTYPE";
case UV_ETIMEDOUT: return "ETIMEDOUT"; case UV_ETIMEDOUT: return "ETIMEDOUT";
case UV_EEXIST: return "EEXIST";
default: default:
assert(0); assert(0);
return NULL; return NULL;

1
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_BROKEN_PIPE: return UV_EOF;
case ERROR_PIPE_BUSY: return UV_EBUSY; case ERROR_PIPE_BUSY: return UV_EBUSY;
case ERROR_SEM_TIMEOUT: return UV_ETIMEDOUT; case ERROR_SEM_TIMEOUT: return UV_ETIMEDOUT;
case ERROR_ALREADY_EXISTS: return UV_EEXIST;
default: return UV_UNKNOWN; default: return UV_UNKNOWN;
} }
} }

Loading…
Cancel
Save