Patch request to qt 5.9.4 (Re: [ANNOUNCEMENT] Qt 5.9.4)

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Mar 11 09:45:00 GMT 2019


On Mar 11 00:21, Mark Geisert wrote:
> Tatsuro MATSUOKA wrote:
> > [...]
> > without the above patch ()
> > qt_safe_socket(PF_UNIX, SOCK_STREAM, 0, O_NONBLOCK)))
> > gnuplot cannot connect with gnuplot_qt.
> > 
> > with the above patch ()
> > qt_safe_socket(PF_UNIX, SOCK_STREAM, 0))
> > gnuplot can connect with gnuplot_qt.
> > 
> > Perhaps qt with O_NONBLOCK is some wrong with process connection.
> 
> Hi Tatsuro,
> For the record, what Enrico supplied is what we'd call an STC, a Simple Test
> Case.  Unfortunately his STC dealt with select() on a named pipe.
> 
> Your gnuplot issue has to do with "Unix sockets", a form of IPC between
> processes.  Cygwin uses Windows named pipes to implement "Unix sockets" on
> Windows.

No, wait!  While there is code in Cygwin which is supposed to use
Windows named pipes to implement AF_UNIX sockets at one point, thos
code is far from being complete.

As yet, Cygwin uses loopback IPv4 sockets to implement AF_UNIX sockets.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20190311/d9693473/attachment.sig>


More information about the Cygwin mailing list