diff options
author | John Högberg <[email protected]> | 2017-12-07 09:18:33 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2017-12-07 09:18:33 +0100 |
commit | be9f93b14e0fb9ff09db36abde62ae8099bf5bd0 (patch) | |
tree | 6ae191af88ca8f9f1f8eea63d1c43d2dd52570af | |
parent | 3983aeba3ddde9f6256478e878d75f1acf61eb52 (diff) | |
parent | 3ba4c2551e2ee06f2df9784f097484f8621820f6 (diff) | |
download | otp-be9f93b14e0fb9ff09db36abde62ae8099bf5bd0.tar.gz otp-be9f93b14e0fb9ff09db36abde62ae8099bf5bd0.tar.bz2 otp-be9f93b14e0fb9ff09db36abde62ae8099bf5bd0.zip |
Merge branch 'john/erts/fix-invalid-name-xlat'
-rw-r--r-- | erts/emulator/nifs/win32/win_prim_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/nifs/win32/win_prim_file.c b/erts/emulator/nifs/win32/win_prim_file.c index 9f993f1d24..9b79182f2c 100644 --- a/erts/emulator/nifs/win32/win_prim_file.c +++ b/erts/emulator/nifs/win32/win_prim_file.c @@ -1346,6 +1346,7 @@ static int windows_to_posix_errno(DWORD last_error) { case ERROR_PATH_NOT_FOUND: case ERROR_FILE_NOT_FOUND: case ERROR_NO_MORE_FILES: + case ERROR_INVALID_NAME: return ENOENT; case ERROR_TOO_MANY_OPEN_FILES: return EMFILE; |