Skip to content

Commit

Permalink
fix #4589
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Jan 1, 2014
1 parent 3828c2d commit 26e837b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion deps/libuv
Submodule libuv updated 4 files
+54 −6 src/win/pipe.c
+12 −3 src/win/tty.c
+14 −11 src/win/util.c
+4 −0 src/win/winapi.h
4 changes: 0 additions & 4 deletions src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

This comment has been minimized.

Copy link
@jiahao

jiahao Jan 1, 2014

Member

*descriptor

This comment has been minimized.

Copy link
@vtjnash

vtjnash Jan 1, 2014

Author Member

the text is gone now

This comment has been minimized.

Copy link
@jiahao

jiahao Jan 1, 2014

Member

d'oh. Clearly had a bit too much fun at the NYE party. 🍸

// about needing to keep its handle open
fd = _dup(fd);
#endif
//printf("%d: %d -- %d\n", fd, type, 0);
switch(type) {
Expand Down

0 comments on commit 26e837b

Please sign in to comment.