Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
windows: return UV_FILE for non-console FILE_TYPE_CHAR
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Zinkovsky committed Nov 17, 2011
1 parent d5b2615 commit b0b54bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/handle.c
Expand Up @@ -35,7 +35,7 @@ uv_handle_type uv_guess_handle(uv_file file) {
if (GetConsoleMode(handle, &mode)) {
return UV_TTY;
} else {
return UV_UNKNOWN_HANDLE;
return UV_FILE;
}

case FILE_TYPE_PIPE:
Expand Down

0 comments on commit b0b54bf

Please sign in to comment.