From 494c251cb0b0af70ac940b42df1d6c9940e469c8 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sun, 25 Jan 2015 16:07:49 -0800 Subject: 34399: fix polltty thinko from 34365 Also add missing ChangeLog entry for 34365. --- Src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/utils.c b/Src/utils.c index 45f596a42..d38babbe4 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2323,7 +2323,7 @@ read_poll(int fd, int *readchar, int polltty, zlong microseconds) * as plausible as it sounds, but it seems the right way to guess. * pws 2000/06/26 */ - if (fd >= 0) { + if (polltty && fd >= 0) { gettyinfo(&ti); if ((polltty = ti.tio.c_cc[VMIN])) { ti.tio.c_cc[VMIN] = 0; -- cgit 1.4.1