commit | 7efa8e258e9cd0c740903a0e24b0779ef553090e | [log] [tgz] |
---|---|---|
author | Ove Kaaven <ovek@transgaming.com> | Tue Sep 25 22:37:32 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Sep 25 22:37:32 2001 +0000 |
tree | 97e38a6907978bf144e0171748842c6fea46151d | |
parent | c9f0ff2d8ce96bf8e42ec4d6db383c7e0fada496 [diff] [blame] |
A failure to open a pipe should return INVALID_HANDLE_VALUE.
diff --git a/files/file.c b/files/file.c index a9cedb3..9c8d115 100644 --- a/files/file.c +++ b/files/file.c
@@ -434,7 +434,8 @@ 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 )) {