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
7cdf3389
Commit
7cdf3389
authored
Aug 29, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: Correctly store the service's PID upon startup.
parent
0ba57014
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
services.c
programs/services/services.c
+1
-2
No files found.
programs/services/services.c
View file @
7cdf3389
...
...
@@ -577,7 +577,6 @@ static DWORD service_start_process(struct service_entry *service_entry, HANDLE *
}
service_entry
->
status
.
dwCurrentState
=
SERVICE_START_PENDING
;
service_entry
->
status
.
dwProcessId
=
pi
.
dwProcessId
;
service_unlock
(
service_entry
);
...
...
@@ -587,11 +586,11 @@ static DWORD service_start_process(struct service_entry *service_entry, HANDLE *
{
service_lock_exclusive
(
service_entry
);
service_entry
->
status
.
dwCurrentState
=
SERVICE_STOPPED
;
service_entry
->
status
.
dwProcessId
=
0
;
service_unlock
(
service_entry
);
return
GetLastError
();
}
service_entry
->
status
.
dwProcessId
=
pi
.
dwProcessId
;
*
process
=
pi
.
hProcess
;
CloseHandle
(
pi
.
hThread
);
...
...
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