On Wed, 11 Aug 2021 18:50:10 +0200, Ingo Schwarze wrote:

> in its current state, the editline(3) library is completely unfit
> to work with non-blocking I/O.  Neither the API nor the implementation
> are even designed for that purpose.
>
> Consequently, i propose that we document the facts up front and
> simply delete some code that isn't going to do any good in practice.
> For programs not using non-blocking I/O on the editline input file
> descriptor, this patch makes no difference.  Programs that do set
> FIONBIO on a file descriptor and then call editline(3) on it anyway
> can't possibly work as intended as far as i can see.  Either setting
> FIONBIO is needless in the first place, or el_gets(3) clearing it
> will ruin the rest of the program's functionality.

Fine with me.

 - todd

Reply via email to