mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-29 15:40:56 +01:00
zsh-workers/9904
This commit is contained in:
parent
f0f5b51437
commit
927db58549
1 changed files with 1 additions and 1 deletions
|
|
@ -1318,7 +1318,7 @@ noquery(int purge)
|
|||
#ifdef FIONREAD
|
||||
ioctl(SHTTY, FIONREAD, (char *)&val);
|
||||
if (purge) {
|
||||
while(val--)
|
||||
for (; val; val--)
|
||||
read(SHTTY, &c, 1);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue