delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/06/04:30:09

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=xuSC5Vc82emMLOXF
wLVbLrMimsFLJnhDyW3oCELk42gcGJN6VZjI+3CwS/2nlqzu4d/fgw/OoMjP+L5i
uh4R9kAkSH4fiE9V5NrwWq0jmUZbU1c43zkbF6Q996MWt/FNs71tmGSzq5qj3xf5
xTDvqNF3e45YFRNjrxl6Jp3RhCw=
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=Iw8jPWcGE2+RxxGHRnJuOt
ppExc=; b=L5ipOVXSEx2eZVOBPZdVrONvN3UCQwmX29gy4YOPkmjRP1hMvxRwK2
qP0ZustxLb4/vN8AZ21jAkrzGW5jr9ucyypwSEXMVsoYqiWxnCY9uk4JMieZtiiZ
nlc33RTFr2G7xV5NJ5SxqeKrXSA5zOAsVCh1MZsoCDzZMnauo1Q1I=
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=1.3 required=5.0 tests=AWL,BAYES_40,FOREIGN_BODY,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=auf, Diese, sk:Antivir, geprft
X-HELO: mail-wr1-f41.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=Sg4B96dQCpfCKKGlCA1/VZG1C45dm9XGfHZ9OteYmeM=; b=mU3sve5KSyK0XEOznWeEhHLcGCUwM1rtWszYJyueYXPDxDDBeubOsr+DpCqg5m4PDm 0q5QWjnD+4CVoTpozVRlt5Jm/c7Ti81k2LqfrHr2hcG3Ek1X/MELYDm0ip65tKzmENsY +nBsGidzhojDSxzUInNccc8dK5FH8kDkW8X0ZBaCI9sGeyVh9YWm8BwvkXTdcMKcX4k7 KbMzZtLEh6uBSMSHYgwOSh6KEFuMMpK5oMvo0PXULI4mOTq1+DvI14pdDY8vwtaoi1Ar gqw4vU+64HQlGRqLYNwjrciNUgGBX+i02pFwIQhNPB0UkFh8HMQG3LyABsJOBmU1JtnO xF/w==
Subject: Re: SOCK_NONBLOCK not honored
To: cygwin AT cygwin DOT com
References: <SN6PR09MB3247DE8659997EDB93309403A5CE0 AT SN6PR09MB3247 DOT namprd09 DOT prod DOT outlook DOT com> <20181105200454 DOT GC18379 AT calimero DOT vinschen DOT de>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <937c8ba3-e5ef-92d9-7e7c-0645e01ca073@gmail.com>
Date: Tue, 6 Nov 2018 10:29:47 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <20181105200454.GC18379@calimero.vinschen.de>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id wA69U708031238

Am 05.11.2018 um 21:04 schrieb Corinna Vinschen:
> On Nov  1 20:56, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
>> Hi,
>>
>> Looks like CYGWIN defines but does not honor the SOCK_NONBLOCK flag when used with socket(2).
>>
>> (It also defines SOCK_CLOEXEC but I haven't checked whether it is honored -- full disclosure.)
>>
>> Consider the following code:
>
> Spot on, thanks for the testcase.  Neither SOCK_NONBLOCK, nor
> SOCK_CLOEXEC worked as expected.  What was I thinking at the time...?
>
> I pushed a patch and I'm just uploading new developer snapshots to
> https://cygwin.com/snapshots/ while I'm typing.  Please give them a try.
>
>
> Thanks,
> Corinna
>

It reduces the test failures on libuv from 33 to 8  :-))

Thanks
Marco



---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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