X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=K45eCND8xsUZfvqC
	AOVQ83pkE2WZNy5ZfppD2D53DmMtgK36Kwou3TrrTCLqfFSUZok2Dv1/yt6mg92f
	0gVeuftkMvRWFygj/2dH01dDXTZSRbG+jm84pr17Km+OdGnfDtzQgoE8keBcPLEI
	PZ3OHZNM+mulfwNZojPUBbDQ7QQ=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=XQEayXQjXvpHoj+3vOd7zL
	AogYo=; b=h+eFJpNkA3Ydm9wZFjqbz/nVjg7YEZcAmwDA1ADbWOmeCUb0C3753G
	EjinVMT3bwWlZi3HJYx68+8PMsa/tJtW1XcZ56leNylnMpQM87d5f0JJHAHFFDyM
	Qsak7qXMCKbzDbDiUPZyWG+5ZML1+BGQeHfvVNg6kcruH7OnBwAc8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1176, H*UA:6.1, H*u:6.1, H*MI:sk:2019031
X-HELO: m0.truegem.net
Subject: Re: Patch request to qt 5.9.4 (Re: [ANNOUNCEMENT] Qt 5.9.4)
To: cygwin@cygwin.com
References: <1439412702.1866573.1551653028041.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1439412702.1866573.1551653028041.JavaMail.yahoo@mail.yahoo.co.jp> <0faa5fb55a0af4803fcdff786dba8be440355609.camel@cygwin.com> <2014394607.770377.1552264089735.JavaMail.yahoo@mail.yahoo.co.jp> <72f4ecd86329b97d1c3cc1b796bf9393d02228f0.camel@cygwin.com> <881759885.934635.1552275216926.JavaMail.yahoo@mail.yahoo.co.jp> <30cae96a-7c70-5634-85ce-3fe6b36a7d21@maxrnd.com> <20190311094503.GC3785@calimero.vinschen.de>
From: Mark Geisert <mark@maxrnd.com>
Message-ID: <391509cb-f59f-7d12-2de0-3b009a116c2d@maxrnd.com>
Date: Mon, 11 Mar 2019 21:16:44 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46
MIME-Version: 1.0
In-Reply-To: <20190311094503.GC3785@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Corinna Vinschen wrote:
> 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.

Thank you Corinna for the correction.  That should make the strace output more 
understandable :-).

..mark


--
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

