[Bug 17195] NamedPipe datagrams need to be _really_ datagrams

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 4 00:12:02 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=17195

--- Comment #128 from Daniel Jelinski <djelinski1 at gmail.com> 2013-01-04 00:12:02 CST ---
(In reply to comment #127)
> I know that splitting is good xD  But that's the one where you stop getting a
> pipe_instance handle and start getting a pipe_end handle for the server end. 
> Those functions *must* change at the same time or stuff breaks.  Is there a way
> to get around that that I'm not seeing?

Make pipe_instance_flush read:
{
if(inst->server->fd)
{
  pipe_end_flush(inst->server);
  return;
}
no_flush();
}
or something along these lines. Same for pipe_instance_ioctl. When you switch
to pipe_end_fd_ops, these lines will never be called, so you may remove them in
a later patch (which can even be a separate one).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list