diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-11 02:46:02 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-11 02:46:02 +0200 |
commit | ef496dc39de1ee778db71fc116fe7ed3bdb670eb (patch) | |
tree | a81bdcd48d22953f3ed318389a4ac1568e4a402d /deps/uv | |
parent | e6b06bc6c5393b31f3b45dbcd0deeb95271fc8b8 (diff) | |
download | nodejs-ef496dc39de1ee778db71fc116fe7ed3bdb670eb.tar.gz nodejs-ef496dc39de1ee778db71fc116fe7ed3bdb670eb.tar.bz2 nodejs-ef496dc39de1ee778db71fc116fe7ed3bdb670eb.zip |
uv: upgrade to e8497ae
Diffstat (limited to 'deps/uv')
-rw-r--r-- | deps/uv/include/uv.h | 1 | ||||
-rw-r--r-- | deps/uv/src/uv-common.c | 1 | ||||
-rw-r--r-- | deps/uv/src/uv-unix.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/deps/uv/include/uv.h b/deps/uv/include/uv.h index 2e39d08ac..ea3e17519 100644 --- a/deps/uv/include/uv.h +++ b/deps/uv/include/uv.h @@ -122,6 +122,7 @@ typedef enum { UV_ENOTCONN, UV_ENOTSOCK, UV_ENOTSUP, + UV_EPIPE, UV_EPROTO, UV_EPROTONOSUPPORT, UV_EPROTOTYPE, diff --git a/deps/uv/src/uv-common.c b/deps/uv/src/uv-common.c index b0c8a8252..ae859e850 100644 --- a/deps/uv/src/uv-common.c +++ b/deps/uv/src/uv-common.c @@ -76,6 +76,7 @@ const char* uv_err_name(uv_err_t err) { case UV_ENOTCONN: return "ENOTCONN"; case UV_ENOTSOCK: return "ENOTSOCK"; case UV_ENOTSUP: return "ENOTSUP"; + case UV_EPIPE: return "EPIPE"; case UV_EPROTO: return "EPROTO"; case UV_EPROTONOSUPPORT: return "EPROTONOSUPPORT"; case UV_EPROTOTYPE: return "EPROTOTYPE"; diff --git a/deps/uv/src/uv-unix.c b/deps/uv/src/uv-unix.c index c7a372fbd..dad3eeb61 100644 --- a/deps/uv/src/uv-unix.c +++ b/deps/uv/src/uv-unix.c @@ -167,6 +167,7 @@ static uv_err_code uv_translate_sys_error(int sys_errno) { case 0: return UV_OK; case EACCES: return UV_EACCESS; case EBADF: return UV_EBADF; + case EPIPE: return UV_EPIPE; case EAGAIN: return UV_EAGAIN; case ECONNRESET: return UV_ECONNRESET; case EFAULT: return UV_EFAULT; |