Web lists-archives.com

Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.1-1, libreadline-devel-7.0.1-1, bash-4.4.5-1




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