Fixed a bug where we could set the wrong handle in the fd cache when

encountering the race condition in wine_server_handle_to_fd.
This commit is contained in:
Alexandre Julliard 2005-10-03 18:46:57 +00:00
parent 059a8c15f2
commit baa8bf3c74
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ int wine_server_handle_to_fd( obj_handle_t handle, unsigned int access, int *uni
/* and store it back into the cache */
SERVER_START_REQ( set_handle_fd )
{
req->handle = handle;
req->handle = fd_handle;
req->fd = fd;
req->removable = removable;
if (!(ret = wine_server_call( req )))