Skip to content
Snippets Groups Projects
Commit 7efa8e25 authored by Ove Kåven's avatar Ove Kåven Committed by Alexandre Julliard
Browse files

A failure to open a pipe should return INVALID_HANDLE_VALUE.

parent c9f0ff2d
No related branches found
No related tags found
No related merge requests found
......@@ -434,7 +434,8 @@ HANDLE WINAPI CreateFileA( LPCSTR filename, DWORD access, DWORD sharing,
if(!strncasecmp(&filename[4],"pipe\\",5))
{
TRACE("Opening a pipe: %s\n",filename);
return FILE_OpenPipe(filename,access);
ret = FILE_OpenPipe(filename,access);
goto done;
}
else if (!DOSFS_GetDevice( filename ))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment