server: Store the opening options in the file descriptor instead of in the individual objects.
Allows moving the FD_FLAG_OVERLAPPED support to the generic
get_handle_fd request handling.
diff --git a/server/queue.c b/server/queue.c
index 22f4dcd..95fd3c9 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -1580,7 +1580,7 @@
if ((unix_fd = get_file_unix_fd( file )) != -1)
{
if ((unix_fd = dup( unix_fd )) != -1)
- queue->fd = create_anonymous_fd( &msg_queue_fd_ops, unix_fd, &queue->obj );
+ queue->fd = create_anonymous_fd( &msg_queue_fd_ops, unix_fd, &queue->obj, 0 );
else
file_set_error();
}