mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-15 23:11:26 +01:00
34399: fix polltty thinko from 34365
Also add missing ChangeLog entry for 34365.
This commit is contained in:
parent
2546c86244
commit
494c251cb0
2 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue