delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/12/00:17:06

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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 AT cygwin DOT 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> <881759885 DOT 934635 DOT 1552275216926 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT co DOT jp> <30cae96a-7c70-5634-85ce-3fe6b36a7d21 AT maxrnd DOT com> <20190311094503 DOT GC3785 AT calimero DOT vinschen DOT de>
From: Mark Geisert <mark AT maxrnd DOT 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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019