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:
Zebediah Figura 2021-09-14 01:02:46 -05:00 committed by Alexandre Julliard
parent 7c0f642005
commit cc7e3ec8e2
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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;