Sebastian Lackner sebastian@fds-team.de writes:
Signed-off-by: Sebastian Lackner sebastian@fds-team.de
dlls/ntdll/file.c | 2 +- dlls/ntdll/tests/file.c | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index be6b591..e4370dc 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -444,7 +444,7 @@ NTSTATUS FILE_GetNtStatus(void) case EACCES: return STATUS_ACCESS_DENIED; case ENOTDIR: return STATUS_OBJECT_PATH_NOT_FOUND; case ENOENT: return STATUS_OBJECT_NAME_NOT_FOUND;
- case EISDIR: return STATUS_FILE_IS_A_DIRECTORY;
- case EISDIR: return STATUS_INVALID_DEVICE_REQUEST;
That's going to affect all file functions, not only NtReadFile. It would need more test cases.