Module: wine Branch: master Commit: abb33fb90edadb3bef834c25e876fd43e7d8229b URL: https://source.winehq.org/git/wine.git/?a=commit;h=abb33fb90edadb3bef834c25e...
Author: Alexandre Julliard julliard@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@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 */