commit bash-20210211 snapshot

This commit is contained in:
Chet Ramey
2021-02-15 10:55:26 -05:00
parent 26db5626df
commit a6c3a43f43
11 changed files with 114 additions and 52 deletions
+1
View File
@@ -497,6 +497,7 @@ rl_read_key (void)
if ((r = rl_gather_tyi ()) < 0) /* XXX - EIO */
{
rl_done = 1;
RL_SETSTATE (RL_STATE_DONE);
return (errno == EIO ? (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF) : '\n');
}
else if (r > 0) /* read something */