Alexandre Julliard : server: Set the fd user when duplicating a mapping file descriptor into a new file .

Alexandre Julliard julliard at winehq.org
Fri Apr 22 12:27:44 CDT 2011


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Apr 22 17:07:45 2011 +0200

server: Set the fd user when duplicating a mapping file descriptor into a new file.

---

 server/file.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/file.c b/server/file.c
index fe88495..fcfd572 100644
--- a/server/file.c
+++ b/server/file.c
@@ -162,6 +162,7 @@ struct file *create_file_for_fd_obj( struct fd *fd, unsigned int access, unsigne
             release_object( file );
             return NULL;
         }
+        set_fd_user( file->fd, &file_fd_ops, &file->obj );
     }
     return file;
 }




More information about the wine-cvs mailing list