server: Create pseudo-fds as initially signaled.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7c0f642005
commit
cc7e3ec8e2
|
@ -711,7 +711,7 @@ static void do_return_status(ULONG ioctl, struct return_status_params *params)
|
|||
ok(port != NULL, "failed to create port, error %u\n", GetLastError());
|
||||
|
||||
ret = WaitForSingleObject(file, 0);
|
||||
todo_wine ok(!ret, "got %d\n", ret);
|
||||
ok(!ret, "got %d\n", ret);
|
||||
|
||||
ResetEvent(event);
|
||||
strcpy(buffer, "abcdef");
|
||||
|
|
|
@ -1742,7 +1742,7 @@ struct fd *alloc_pseudo_fd( const struct fd_ops *fd_user_ops, struct object *use
|
|||
fd->nt_namelen = 0;
|
||||
fd->unix_fd = -1;
|
||||
fd->cacheable = 0;
|
||||
fd->signaled = 0;
|
||||
fd->signaled = 1;
|
||||
fd->fs_locks = 0;
|
||||
fd->poll_index = -1;
|
||||
fd->completion = NULL;
|
||||
|
|
Loading…
Reference in New Issue