Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
62393d09
Commit
62393d09
authored
Nov 23, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Fix pipe server listen queue initialization.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f487d50a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
named_pipe.c
server/named_pipe.c
+1
-1
No files found.
server/named_pipe.c
View file @
62393d09
...
...
@@ -1168,6 +1168,7 @@ static struct pipe_server *create_pipe_server( struct named_pipe *pipe, unsigned
init_pipe_end
(
&
server
->
pipe_end
,
pipe
,
pipe_flags
,
pipe
->
insize
);
server
->
pipe_end
.
state
=
FILE_PIPE_LISTENING_STATE
;
server
->
pipe_end
.
server_pid
=
get_process_id
(
current
->
process
);
init_async_queue
(
&
server
->
listen_q
);
list_add_head
(
&
pipe
->
servers
,
&
server
->
entry
);
if
(
!
(
server
->
pipe_end
.
fd
=
alloc_pseudo_fd
(
&
pipe_server_fd_ops
,
&
server
->
pipe_end
.
obj
,
options
)))
...
...
@@ -1177,7 +1178,6 @@ static struct pipe_server *create_pipe_server( struct named_pipe *pipe, unsigned
}
allow_fd_caching
(
server
->
pipe_end
.
fd
);
set_fd_signaled
(
server
->
pipe_end
.
fd
,
1
);
init_async_queue
(
&
server
->
listen_q
);
return
server
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment