commit | f52424055f9fe684751528630374ce70ccf9765e | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Wed Feb 28 21:45:23 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Feb 28 21:45:23 2001 +0000 |
tree | 22d9b4a42c1661a9242c7a33819756a0103c424e | |
parent | 0ba5909038373f190892d044cdfff6923a60f830 [diff] [blame] |
New mechanism to transfer file descriptors from client to server.
diff --git a/files/file.c b/files/file.c index 38d455b..bcb62c7 100644 --- a/files/file.c +++ b/files/file.c
@@ -184,10 +184,14 @@ HANDLE FILE_DupUnixHandle( int fd, DWORD access ) { HANDLE ret; + + wine_server_send_fd( fd ); + SERVER_START_REQ( alloc_file_handle ) { req->access = access; - SERVER_CALL_FD( fd ); + req->fd = fd; + SERVER_CALL(); ret = req->handle; } SERVER_END_REQ;