Hi!

I tried to compile the latest readline-8.2 patch 1 for QNX, where I don't have 
pselect.
I found a problem in input.c , line 808. I propose to change it:
diff input.c.orig input.c
808c808
< #if defined (HAVE_PSELECT)
---
> #if defined (HAVE_PSELECT) || defined (HAVE_SELECT)

The second part of the #if seems to have been forgotten here.
In line 828, the readfds is used if either of the defines is defined, so the 
variable readfds is missing without my patch.

I have my solution now, but I thought it would be good to report it, for future 
versions.

Best regards,
Manuel Köppen

Reply via email to