Alexandre Julliard : ntdll: Also ignore missing directories in NtGetNlsSectionPtr().
Alexandre Julliard
julliard at winehq.org
Mon Apr 20 15:48:20 CDT 2020
Module: wine
Branch: master
Commit: abb33fb90edadb3bef834c25e876fd43e7d8229b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=abb33fb90edadb3bef834c25e876fd43e7d8229b
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Apr 20 20:15:56 2020 +0200
ntdll: Also ignore missing directories in NtGetNlsSectionPtr().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48966
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/locale.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/locale.c b/dlls/ntdll/locale.c
index ff9d713624..a28f5d0f58 100644
--- a/dlls/ntdll/locale.c
+++ b/dlls/ntdll/locale.c
@@ -665,7 +665,7 @@ static NTSTATUS open_nls_data_file( ULONG type, ULONG id, HANDLE *file )
status = NtOpenFile( file, GENERIC_READ, &attr, &io, FILE_SHARE_READ, FILE_SYNCHRONOUS_IO_ALERT );
if (!status) TRACE( "found %s\n", debugstr_w( valueW.Buffer ));
RtlFreeUnicodeString( &valueW );
- if (status != STATUS_OBJECT_NAME_NOT_FOUND) return status;
+ if (status != STATUS_OBJECT_NAME_NOT_FOUND && status != STATUS_OBJECT_PATH_NOT_FOUND) return status;
/* not found, try in build or data dir */
More information about the wine-cvs
mailing list