Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
91bbc46c
Commit
91bbc46c
authored
Jun 24, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Try to use the name of the PE file also when loading .so builtin.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aa97c30b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
actctx.c
dlls/kernel32/tests/actctx.c
+0
-1
loader.c
dlls/ntdll/loader.c
+4
-2
No files found.
dlls/kernel32/tests/actctx.c
View file @
91bbc46c
...
...
@@ -3481,7 +3481,6 @@ static void test_builtin_sxs(void)
GetModuleFileNameA
(
module_msvcp
,
path_msvcp
,
sizeof
(
path_msvcp
));
GetModuleFileNameA
(
module_msvcr
,
path_msvcr
,
sizeof
(
path_msvcr
));
ok
(
strnicmp
(
expected_path
,
path_msvcp
,
strlen
(
expected_path
))
==
0
,
"Expected path to start with %s, got %s
\n
"
,
expected_path
,
path_msvcp
);
todo_wine
ok
(
strnicmp
(
expected_path
,
path_msvcr
,
strlen
(
expected_path
))
==
0
,
"Expected path to start with %s, got %s
\n
"
,
expected_path
,
path_msvcr
);
DeactivateActCtx
(
0
,
cookie
);
...
...
dlls/ntdll/loader.c
View file @
91bbc46c
...
...
@@ -2427,7 +2427,7 @@ static NTSTATUS load_so_dll( LPCWSTR load_path, const UNICODE_STRING *nt_name,
}
info
.
load_path
=
load_path
;
info
.
filename
=
so_name
?
NULL
:
nt_name
;
info
.
filename
=
nt_name
;
info
.
status
=
STATUS_SUCCESS
;
info
.
wm
=
NULL
;
...
...
@@ -2528,7 +2528,9 @@ static NTSTATUS load_builtin_dll( LPCWSTR load_path, const UNICODE_STRING *nt_na
return
load_native_dll
(
load_path
,
nt_name
,
module_ptr
,
&
image_info
,
flags
,
pwm
,
&
st
);
}
return
load_so_dll
(
load_path
,
nt_name
,
so_name
,
pwm
);
status
=
load_so_dll
(
load_path
,
nt_name
,
so_name
,
pwm
);
RtlFreeHeap
(
GetProcessHeap
(),
0
,
so_name
);
return
status
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment