Commit 7efa8e25 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

A failure to open a pipe should return INVALID_HANDLE_VALUE.

parent c9f0ff2d
......@@ -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 ))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment