diff options
| author | tjg <tjg> | 2002-07-31 12:28:01 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:22 +0100 |
| commit | a099278f6289d9cd3bda09215dd08de50833285c (patch) | |
| tree | 406374a1ab5165c8f8ee4d06ffb7a6eceecad445 | |
| parent | 1b73f47776f32c04410bde4498956321f7b2beb7 (diff) | |
Bug: readline doesn't handle EIO either.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | input.c | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -792,3 +792,7 @@ Changes since rc-1.5b2 2002-07-25 Bug: fix globbing of broken symlinks. + +2002-07-31 + + Bug: readline doesn't handle EIO either. @@ -96,8 +96,10 @@ static int fdgchar() { while (1) { #if EDITLINE || READLINE if (interactive && istack->t == iFd && isatty(istack->fd)) { - /* The readline library doesn't handle read() returning EAGAIN. */ + /* The readline library doesn't handle + * read() returning EAGAIN or EIO. */ makeblocking(istack->fd); + makesamepgrp(istack->fd); rlinebuf = rc_readline(prompt); if (rlinebuf == NULL) { chars_in = 0; |