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
6d6e6600
Commit
6d6e6600
authored
Mar 30, 2012
by
Alexander Morozov
Committed by
Alexandre Julliard
Apr 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Regular program should not freeze forever if it calls StartServiceCtrlDispatcher.
parent
bf066791
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
service.c
dlls/advapi32/service.c
+2
-2
No files found.
dlls/advapi32/service.c
View file @
6d6e6600
...
...
@@ -242,7 +242,7 @@ static HANDLE service_open_pipe(void)
break
;
if
(
GetLastError
()
!=
ERROR_PIPE_BUSY
)
break
;
}
while
(
WaitNamedPipeW
(
szPipe
,
NMPWAIT_
WAIT_FOREVER
));
}
while
(
WaitNamedPipeW
(
szPipe
,
NMPWAIT_
USE_DEFAULT_WAIT
));
HeapFree
(
GetProcessHeap
(),
0
,
szPipe
);
return
handle
;
...
...
@@ -366,7 +366,7 @@ static DWORD WINAPI service_control_dispatcher(LPVOID arg)
if
(
pipe
==
INVALID_HANDLE_VALUE
)
{
ERR
(
"failed to create control pipe error = %d
\n
"
,
GetLastError
());
WARN
(
"failed to create control pipe error = %d
\n
"
,
GetLastError
());
return
0
;
}
...
...
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