Alexandre Julliard : server: Ignore FILE_DIRECTORY_FILE on special files.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 18 07:57:33 CDT 2015


Module: wine
Branch: master
Commit: 47eec1364a2628efc48cac0c083667645ac8a7c5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=47eec1364a2628efc48cac0c083667645ac8a7c5

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon May 18 17:49:56 2015 +0900

server: Ignore FILE_DIRECTORY_FILE on special files.

---

 server/fd.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/server/fd.c b/server/fd.c
index 1253b3d..f0a52ad 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -1865,11 +1865,6 @@ struct fd *open_fd( struct fd *root, const char *name, int flags, mode_t *mode,
     }
     else  /* special file */
     {
-        if (options & FILE_DIRECTORY_FILE)
-        {
-            set_error( STATUS_NOT_A_DIRECTORY );
-            goto error;
-        }
         if (unlink_name[0])  /* we can't unlink special files */
         {
             set_error( STATUS_INVALID_PARAMETER );




More information about the wine-cvs mailing list