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
20e0fd6e
Commit
20e0fd6e
authored
Sep 28, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Delay ntdll.dll loading until more initialization is done.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
48e88074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
loader.c
dlls/ntdll/unix/loader.c
+2
-3
No files found.
dlls/ntdll/unix/loader.c
View file @
20e0fd6e
...
@@ -1577,6 +1577,8 @@ static void start_main_thread(void)
...
@@ -1577,6 +1577,8 @@ static void start_main_thread(void)
init_cpu_info
();
init_cpu_info
();
init_files
();
init_files
();
NtCreateKeyedEvent
(
&
keyed_event
,
GENERIC_READ
|
GENERIC_WRITE
,
NULL
,
0
);
NtCreateKeyedEvent
(
&
keyed_event
,
GENERIC_READ
|
GENERIC_WRITE
,
NULL
,
0
);
load_ntdll
();
load_libwine
();
status
=
p__wine_set_unix_funcs
(
NTDLL_UNIXLIB_VERSION
,
&
unix_funcs
);
status
=
p__wine_set_unix_funcs
(
NTDLL_UNIXLIB_VERSION
,
&
unix_funcs
);
if
(
status
)
exec_process
(
status
);
if
(
status
)
exec_process
(
status
);
server_init_process_done
();
server_init_process_done
();
...
@@ -1785,10 +1787,7 @@ void __wine_main( int argc, char *argv[], char *envp[] )
...
@@ -1785,10 +1787,7 @@ void __wine_main( int argc, char *argv[], char *envp[] )
#endif
#endif
virtual_init
();
virtual_init
();
load_ntdll
();
init_environment
(
argc
,
argv
,
envp
);
init_environment
(
argc
,
argv
,
envp
);
load_libwine
();
#ifdef __APPLE__
#ifdef __APPLE__
apple_main_thread
();
apple_main_thread
();
...
...
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