X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:message-id:in-reply-to :references:subject:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=ZHWyxtv4CxEkWIU2 RBG/+g0E1EiW65EkVyd+TpETBhPmSVr3FdpEL+1oGDypdoIallkpFE8553nAn/Xy EMYeAujvfjBrC+lIwOzoAwr1n5ujDtjK7+vWbmbgGHBqUCN5WKKJFMoNKorx3yHh 2c1pW+SuoLgqb32zvhpG6JNGQIg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:message-id:in-reply-to :references:subject:mime-version:content-type :content-transfer-encoding; s=default; bh=t5NKd0lGH/ROM05qQlfFXh qkEUg=; b=RAuNGVxsWIwQiZMs+14oigq/G2ljfACW4rHIqhWI+4fWpkxzv6SCad iGoPsUELSy3x9MzVKri+eQrxkV1kJqKG4EzN9TFeembJKYyR9z/URCDC338G806t ECX8ZDHi7dc9Mvlx6kaIn4z1rGoNper5nbNSljDSVyCz2PhD8/v34= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.7 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=plot, HX-Languages:sk.windows-1250, connect, with X-HELO: nh602-vm7.bullet.mail.ssk.yahoo.co.jp DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1552275218; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=AziIg4uLJlTIdvmoBc8LuZhUDHlULFJlu4yitIW9MRw=; b=o7a9EOuL5ctfRobO/KwJNoNZSwQP28UhWSH9DXbwvl7FqKnbzGZoCYRuGPraXwmK +Nnyy0OZiQSVlGtcSihvWUF/o/xygw92/UBxLh1t6KQy4TO9YLHON19CsQxKJ5lcMv6 qxUBwNYDR7bcS5kAWUT4b+X2o53AfOl0KjHnZjdI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TCcReROFTACWEnw8HbkU7CwL5hipJI3r4i0baJjHJIwPm/v2vD7tj3HGPGJXU8YH 8FcpaDXVi/HM2HcUZ9sfMLAbd5G0FuRoKXJ0DCYOsiXf4x5skxjB9LPPyUrqnQ7RTrc ACnSZmkd9Tksyq6f+3jarzsQB+ks4VFUv/ZVBjDU=; Date: Mon, 11 Mar 2019 12:33:36 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA To: Yaakov Selkowitz , Message-ID: <881759885.934635.1552275216926.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <72f4ecd86329b97d1c3cc1b796bf9393d02228f0.camel@cygwin.com> References: <1439412702 DOT 1866573 DOT 1551653028041 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT co DOT jp> <1439412702 DOT 1866573 DOT 1551653028041 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT co DOT jp> <0faa5fb55a0af4803fcdff786dba8be440355609 DOT camel AT cygwin DOT com> <2014394607 DOT 770377 DOT 1552264089735 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT co DOT jp> <72f4ecd86329b97d1c3cc1b796bf9393d02228f0 DOT camel AT cygwin DOT com> Subject: Re: Patch request to qt 5.9.4 (Re: [ANNOUNCEMENT] Qt 5.9.4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x2B3XqWC004817 ----- Original Message ----- > From: Yaakov Selkowitz To: cygwin > Cc: > Date: 2019/3/11, Mon 09:53 > Subject: Re: Patch request to qt 5.9.4 (Re: [ANNOUNCEMENT] Qt 5.9.4) > > On Mon, 2019-03-11 at 09:28 +0900, Tatsuro MATSUOKA wrote: >> > On Mon, 2019-03-04 at 07:43 +0900, Tatsuro MATSUOKA wrote: >> > >  I ask alpply a patch the below which enables to use qt terminal > on gnuplot >> > for Cygwin. >> > >  (cygQt5Network-5.dll is affected.) >> > > >> > >  --- > a/qtbase-opensource-src-5.9.4/src/network/socket/qlocalsocket_unix.cpp >> > >  +++ > b/qtbase-opensource-src-5.9.4/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; >> > > >> > >> > It seems we keep going in circles on this point.  If there is a bug in >> > O_NONBLOCK, then please either narrow it down to an STC, or provide a >> > patch to Cygwin. >> >> Very basic question. What is STC? >> I googled but I cannot find what is it. > > https://cygwin.com/acronyms/#STC Sorry I cannot make STC due to lack of knowledge of QT. In stead, I explain what gnuplot do. On gnuplot for qt,  plot is done by child process named gnuplot_qt.  When gnuplot connect with gnuplot with    qt->socket.connectToServer(server); 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. 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