server: Fix return value for FSCTL_PIPE_WAIT if pipe does not exist
michael at fds-team.de
Sat May 31 09:20:15 CDT 2014
The error code set, when calling WaitNamedPipe for a non existing pipe,
needs to be ERROR_FILE_NOT_FOUND and not ERROR_PIPE_BUSY. This breaks
the latest version of Uniy Webplayer and the attached patch fixes the
problem in the server leading to the wrong error code. The patch also
includes tests to prove that ERROR_FILE_NOT_FOUND is the correct error code.
dlls/kernel32/tests/pipe.c | 6 ++++++
server/named_pipe.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1820 bytes
Desc: not available
More information about the wine-patches