file.c patch

Ove Kaaven ovehk at ping.uio.no
Mon Sep 24 09:07:01 CDT 2001


Log:
Ove Kaaven <ovek at transgaming.com>
A failure to open a pipe should return INVALID_HANDLE_VALUE.

Index: files/file.c
===================================================================
RCS file: /home/wine/wine/files/file.c,v
retrieving revision 1.108
diff -u -r1.108 file.c
--- files/file.c	2001/08/22 18:02:39	1.108
+++ files/file.c	2001/09/24 12:14:42
@@ -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 ))
         {





More information about the wine-patches mailing list