diff --git a/deps/libuv b/deps/libuv index 0bae1555437bc..5bf16a9b86b2b 160000 --- a/deps/libuv +++ b/deps/libuv @@ -1 +1 @@ -Subproject commit 0bae1555437bcb1af2df9d3f320837a2a79f6e6d +Subproject commit 5bf16a9b86b2b059b20703d52c1dbba5979b6f5c diff --git a/src/init.c b/src/init.c index 49f539bdd4f12..e4a5e6b0b351c 100644 --- a/src/init.c +++ b/src/init.c @@ -466,10 +466,6 @@ void *init_stdio_handle(uv_file fd,int readable) // On windows however, libuv objects remember streams by their HANDLE, so this is // unnessecary. fd = dup(fd); -#else - // Duplicate the file descritor so libuv can later close it without having to worry - // about needing to keep its handle open - fd = _dup(fd); #endif //printf("%d: %d -- %d\n", fd, type, 0); switch(type) {