Jacek Caban : server: Associate named pipe device waiters queue with its fd.
Alexandre Julliard
julliard at winehq.org
Mon Jul 3 15:56:47 CDT 2017
Module: wine
Branch: master
Commit: 54234b8a47065b33df9a6a38b9f6ceec4bbdd472
URL: http://source.winehq.org/git/wine.git/?a=commit;h=54234b8a47065b33df9a6a38b9f6ceec4bbdd472
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jun 30 15:07:54 2017 +0200
server: Associate named pipe device waiters queue with its fd.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
server/named_pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/named_pipe.c b/server/named_pipe.c
index c0bfc2a..97ded91 100644
--- a/server/named_pipe.c
+++ b/server/named_pipe.c
@@ -1231,7 +1231,7 @@ static int named_pipe_device_ioctl( struct fd *fd, ioctl_code_t code, struct asy
if (!(server = find_available_server( pipe )))
{
- if (!pipe->waiters && !(pipe->waiters = create_async_queue( NULL ))) goto done;
+ if (!pipe->waiters && !(pipe->waiters = create_async_queue( fd ))) goto done;
queue_async( pipe->waiters, async );
when = buffer->TimeoutSpecified ? buffer->Timeout.QuadPart : pipe->timeout;
More information about the wine-cvs
mailing list