Merge branch 'handler_fd_ops' into 'master'

Fix initialization of the handler_fd_ops

See merge request wine/wine!5503
This commit is contained in:
Ruslan Garipov 2024-11-19 22:52:39 +00:00
commit 05578c473c
6 changed files with 38 additions and 10 deletions

View file

@ -644,9 +644,14 @@ static const struct fd_ops inotify_fd_ops =
{ {
inotify_get_poll_events, /* get_poll_events */ inotify_get_poll_events, /* get_poll_events */
inotify_poll_event, /* poll_event */ inotify_poll_event, /* poll_event */
NULL, /* flush */
NULL, /* get_fd_type */ NULL, /* get_fd_type */
NULL, /* read */
NULL, /* write */
NULL, /* flush */
NULL, /* get_file_info */
NULL, /* get_volume_info */
NULL, /* ioctl */ NULL, /* ioctl */
NULL, /* cancel_async */
NULL, /* queue_async */ NULL, /* queue_async */
NULL /* reselect_async */ NULL /* reselect_async */
}; };

View file

@ -125,12 +125,16 @@ static const struct fd_ops process_fd_ops =
{ {
NULL, /* get_poll_events */ NULL, /* get_poll_events */
process_poll_event, /* poll_event */ process_poll_event, /* poll_event */
NULL, /* flush */
NULL, /* get_fd_type */ NULL, /* get_fd_type */
NULL, /* read */
NULL, /* write */
NULL, /* flush */
NULL, /* get_file_info */
NULL, /* get_volume_info */
NULL, /* ioctl */ NULL, /* ioctl */
NULL, /* cancel_async */
NULL, /* queue_async */ NULL, /* queue_async */
NULL, /* reselect_async */ NULL /* reselect_async */
NULL /* cancel async */
}; };
/* process startup info */ /* process startup info */

View file

@ -184,12 +184,16 @@ static const struct fd_ops msg_queue_fd_ops =
{ {
NULL, /* get_poll_events */ NULL, /* get_poll_events */
msg_queue_poll_event, /* poll_event */ msg_queue_poll_event, /* poll_event */
NULL, /* flush */
NULL, /* get_fd_type */ NULL, /* get_fd_type */
NULL, /* read */
NULL, /* write */
NULL, /* flush */
NULL, /* get_file_info */
NULL, /* get_volume_info */
NULL, /* ioctl */ NULL, /* ioctl */
NULL, /* cancel_async */
NULL, /* queue_async */ NULL, /* queue_async */
NULL, /* reselect_async */ NULL /* reselect_async */
NULL /* cancel async */
}; };

View file

@ -109,9 +109,14 @@ static const struct fd_ops master_socket_fd_ops =
{ {
NULL, /* get_poll_events */ NULL, /* get_poll_events */
master_socket_poll_event, /* poll_event */ master_socket_poll_event, /* poll_event */
NULL, /* flush */
NULL, /* get_fd_type */ NULL, /* get_fd_type */
NULL, /* read */
NULL, /* write */
NULL, /* flush */
NULL, /* get_file_info */
NULL, /* get_volume_info */
NULL, /* ioctl */ NULL, /* ioctl */
NULL, /* cancel_async */
NULL, /* queue_async */ NULL, /* queue_async */
NULL /* reselect_async */ NULL /* reselect_async */
}; };

View file

@ -84,9 +84,14 @@ static const struct fd_ops handler_fd_ops =
{ {
NULL, /* get_poll_events */ NULL, /* get_poll_events */
handler_poll_event, /* poll_event */ handler_poll_event, /* poll_event */
NULL, /* flush */
NULL, /* get_fd_type */ NULL, /* get_fd_type */
NULL, /* read */
NULL, /* write */
NULL, /* flush */
NULL, /* get_file_info */
NULL, /* get_volume_info */
NULL, /* ioctl */ NULL, /* ioctl */
NULL, /* cancel_async */
NULL, /* queue_async */ NULL, /* queue_async */
NULL /* reselect_async */ NULL /* reselect_async */
}; };

View file

@ -207,9 +207,14 @@ static const struct fd_ops thread_fd_ops =
{ {
NULL, /* get_poll_events */ NULL, /* get_poll_events */
thread_poll_event, /* poll_event */ thread_poll_event, /* poll_event */
NULL, /* flush */
NULL, /* get_fd_type */ NULL, /* get_fd_type */
NULL, /* read */
NULL, /* write */
NULL, /* flush */
NULL, /* get_file_info */
NULL, /* get_volume_info */
NULL, /* ioctl */ NULL, /* ioctl */
NULL, /* cancel_async */
NULL, /* queue_async */ NULL, /* queue_async */
NULL /* reselect_async */ NULL /* reselect_async */
}; };