forked from Mirrors/wine-wine
A failure to open a pipe should return INVALID_HANDLE_VALUE.
parent
c9f0ff2d8c
commit
7efa8e258e
|
@ -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 ))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue