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

Commit

Permalink
windows: map ERROR_DIRECTORY to UV_ENOENT
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Aug 28, 2012
1 parent 621a4e3 commit 162e57b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/win/error.c
Expand Up @@ -81,6 +81,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ERROR_OPEN_FAILED: return UV_EIO;
case ERROR_SETMARK_DETECTED: return UV_EIO;
case ERROR_SIGNAL_REFUSED: return UV_EIO;
case ERROR_DIRECTORY: return UV_ENOENT;
case ERROR_FILE_NOT_FOUND: return UV_ENOENT;
case ERROR_INVALID_NAME: return UV_ENOENT;
case ERROR_INVALID_REPARSE_DATA: return UV_ENOENT;
Expand Down

0 comments on commit 162e57b

Please sign in to comment.