public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [qt5] Patch for src/network/socket/qlocalsocket_unix.cpp
@ 2018-03-12 13:09 Tatsuro MATSUOKA
  0 siblings, 0 replies; only message in thread
From: Tatsuro MATSUOKA @ 2018-03-12 13:09 UTC (permalink / raw)
  To: cygwin, tmacchant2, Enrico Forestieri

I have been trying to build qt terminal for gnuplot on cygwin and
not getting successful results.
connection of two processes (gnuplot.exe and gnuplot_qt.exe) were in failure.
Patch by Enrico Forestieri solves the problem
(avoid using O_NONBLOCK)
--- a/qtbase-everywhere-src-5.10.1/src/network/socket/qlocalsocket_unix.cpp
+++ b/qtbase-everywhere-src-5.10.1/src/network/socket/qlocalsocket_unix.cpp
@@ -239,7 +239,7 @@ void QLocalSocket::connectToServer(OpenM
    }
    // create the socket
-    if (-1 == (d->connectingSocket = qt_safe_socket(PF_UNIX, SOCK_STREAM, 0, O_NONBLOCK))) {
+    if (-1 == (d->connectingSocket = qt_safe_socket(PF_UNIX, SOCK_STREAM, 0))) {
        d->errorOccurred(UnsupportedSocketOperationError,
                        QLatin1String("QLocalSocket::connectToServer"));
        return;

Can this patch appply to current Qt5 for cygwin?
Tatsuro


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-12  9:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 13:09 [qt5] Patch for src/network/socket/qlocalsocket_unix.cpp Tatsuro MATSUOKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).