delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/19/08:23:34

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:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=UwOGOteemm75P1R/
JW7U+0jNt+wKeH1M4oZ4/GiJVnl8n3AxoKoaw/AsE/J0fQtbY9TcKC4jwLV/JX9+
wgubNtd8z7W6+1ZxDmLfbdZtmSxcQErCVCoZ4f0SydVkgCzRHmVHIbCABWxsbDEw
6zbqNVECSIkSIyyhz30RHbHlat4=
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:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=z41EkibjXK38wqbzY52cBx
MrZrY=; b=kId6YJ0kHBSXmhEXgj2h0+J8q8drwkwwWryuyRkzsQLAgIrI/QHroD
tT6kkgvxktjREEMObfYA86+pGTa+A/xNVOIz8zr4xDRhuJ1BQpiulk/R2VXybKP+
9CMLKzU6lsfAEJuL/tCV2MUKOk2XqLRJqBnUnsheJGt8Hzd39OTFQ=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=resultant, have_pselect, HAVE_PSELECT, DLL
X-HELO: mailsrv.cs.umass.edu
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.1-1, libreadline-devel-7.0.1-1, bash-4.4.5-1
References: <587f00e3 DOT 072c9d0a DOT 867a0 DOT d29e AT mx DOT google DOT com> <58804d14 DOT 26149d0a DOT 21734 DOT 79aa AT mx DOT google DOT com>
To: cygwin AT cygwin DOT com
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <102fbd64-1bc2-41ee-63d2-932a81124b75@cs.umass.edu>
Date: Thu, 19 Jan 2017 08:23:13 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <58804d14.26149d0a.21734.79aa@mx.google.com>
X-IsSubscribed: yes

On 1/19/2017 12:22 AM, Steven Penny wrote:
 > On Tue, 17 Jan 2017 21:45:07, Steven Penny wrote:
 >> I would like to keep this productive; my next step is to try to unpack that
 >> large commit, while also helping Eric to reproduce.
 >
 > I have root caused this. With the new readline, running ./configure creates
 > config.h, as expected. However new version adds this line:
 >
 > #define HAVE_PSELECT 1
 >
 > If you remove this from config.h, then make, the resultant DLL behaves as it did
 > with previous readline. Not sure what is causing this change, I will try to dig
 > into it more.

You probably found it, but here's why they added use of pselect:

"h.  Use pselect(2), if available, to wait for input before calling read(2), so
     a SIGWINCH can interrupt it, since it doesn't interrupt read(2)."

Of course that does not explain why it's not working how we would like ...

Regards - EM

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