[2/4] server: Store pipe_flags in a separate variable for both server and client of named pipes.

Sebastian Lackner sebastian at fds-team.de
Tue Aug 12 14:29:59 CDT 2014


One global "flags" member for a pipe is not sufficient to store different values
for each opened server/connection. This patch adds an additional pipe_flags member
to both the server and client.

pipe->flags contain attributes which are valid for all servers/client - the
server->pipe_flags and client->pipe_flags values are separate for each connection.

When requesting get_named_pipe_info then return the information for the specific
instance, instead of the global information.

---
 server/named_pipe.c |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-server-Store-pipe_flags-in-a-separate-variable-for-b.patch
Type: text/x-patch
Size: 3694 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140812/fd3d7ab5/attachment.bin>


More information about the wine-patches mailing list