Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0a72ec1d
Commit
0a72ec1d
authored
Apr 21, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make sure we don't try to attach the main exe a second time.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=48961
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f31a29b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
loader.c
dlls/ntdll/loader.c
+1
-0
No files found.
dlls/ntdll/loader.c
View file @
0a72ec1d
...
...
@@ -4009,6 +4009,7 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, void **entry, ULONG_PTR unknow
NtTerminateProcess
(
GetCurrentProcess
(),
status
);
}
wm
->
ldr
.
LoadCount
=
-
1
;
wm
->
ldr
.
Flags
|=
LDR_PROCESS_ATTACHED
;
/* don't try to attach again */
if
(
wm
->
ldr
.
ActivationContext
)
RtlActivateActivationContext
(
0
,
wm
->
ldr
.
ActivationContext
,
&
cookie
);
...
...
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