From d884971193ef4934424b77ae862e8b0ecf70bab3 Mon Sep 17 00:00:00 2001 From: Toby Goodwin Date: Wed, 13 Aug 2003 13:51:14 +0100 Subject: release: rc-1.7.1 --- input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index 1c47aee..c5ac5fc 100644 --- a/input.c +++ b/input.c @@ -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; -- cgit v1.2.3