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=BKZ55gY2bqwk5gNH 8D1Alk+nWJUldNRIz2Q3LcPOiDGDLtJZI6eSYtQVUkcmQd36MeHSekqPW4dFzCzc OvjYHEWJBzvm/Xm5iDAO70qvAaIv4DAz4Kym34dwbSp4E6c1S2z4LHC2sk2vtsOT U2pzaRZlZUGb+d3ZOiSujeIXWts= 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=ecPMdyHXS5zsncP17La4IS T/f6M=; b=Xein00ehN92TDDG4NI6ona/OTJjH4ayam1Z+2ylp6dZOgJWVt7yJjb PVmrnwoK799jaT/eMIwKUaHOHw6u66qZ1Qt8JXtodUQ3uA/jvdQTsdCdHG2/JDQy Gm0JjJ/ZFYbPAW8wH9IXTKMe5ZW6zxTOmc1ccIvuW0xCOLminDe8I= 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=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:NNFMP, asks, tracker, H*M:JavaMail X-HELO: nh604-vm11.bullet.mail.ssk.yahoo.co.jp DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1551830306; 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=nZEMWCXOuCa7I6S9AvWF4G+Nnt3sMYcIh7wum79F6lc=; b=OzGXTCrgN+hM+SzvJ42h+RKoUUFF7NpGgeKPTj+sjuS3WP6gEpDH7Gwrfq6FoN4d P79ziiACFB2BkiLvSsi1u5ejXYdSsU/Q5l7fdILo7SdIQmo2EhF93Y+NSmEUQqBKc+7 +ly+IMArxweCJMKDMw/O8WszQ2/OW7cC8+W6CHh0= 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=Ph0VtluKWiljBRHPJbHU/V5geqGINK0GOKbc1mdfjy3x/gKpSJviV5mCoiT8kyZs X1UzpkdO6ODbiWR9QTHrpVqDZFTV/bfKGT4DncqhY9C7ZUtiszCehX6eZj8+RLEgu9T Tyny8g1mcpgIW/V4+stqmqk8ggWFlPsOe3MGOoyQ=; Date: Wed, 6 Mar 2019 08:58:25 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA To: Achim Gratz , Message-ID: <765948088.2262341.1551830305348.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <87d0n586qw.fsf@Rainer.invalid> 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> <1885179468 DOT 2217358 DOT 1551790639928 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT co DOT jp> <87d0n586qw DOT fsf AT Rainer DOT invalid> 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 x25Nwgij020193 > From: Achim Gratz > To: cygwin > Cc: > Date: 2019/3/6, Wed 04:24 > Subject: Re: Patch request to qt 5.9.4 (Re: [ANNOUNCEMENT] Qt 5.9.4) > >T atsuro MATSUOKA writes: >> I contacted with Enrico who tells me the patch that I have shown. > > Yes, but that monkeys around the real problem.  What Yaakov is telling > you is that there are two options and we don't know yet which one we > have to deal with. > > If O_NONBLOCK is needed, but does not work correctly under Cygwin, then > that's a bug in Cygwin.  For this case, Corinna asks you to create an > STC that demonstrates the bug so it can be triaged without having to > work with something as complex as the Qt terminal in Cygwin. > > If on the other hand O_NONBLOCK is in fact not needed and just shows > different behaviour on different systems without a bug in the > implementation being present, then upstream should remove that argument. > > > Regards, > Achim. Here I desribe another discussion on Bug tracker on gnuplot https://sourceforge.net/p/gnuplot/bugs/2147/ My summary from searching through the history shown in the links above: * gnuplot calls QLocalSocket::connectToServer("name") * Qt tries to open a named pipe for the socket using O_NONBLOCK * This fails because Cygwin has problems with non-blocking named pipes. Back in 2010 Enrico Forestieri posted some simple examples of this (standalone tests, no involvement of gnuplot code) but this apparently did not lead to a fix. * the Qt patch at the head of this bug report would make gnuplot work, but needs to be wrapped in a conditional test for CYGWIN. I can understand why upstream Qt would not want to deal with this. Conclusion: We probably can't fix it in the gnuplot code. There is a trivial work-around that requires modifying the Qt source code, but this would only make sense for the purpose of making a Qt package specifically 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