diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-21 16:36:53 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-21 16:36:53 +0000 |
commit | 78d1939ffd229c8c4ff303bac6d41a08b983e65e (patch) | |
tree | ba0edef1c16e31c0c2da03b521ad5846407a5c50 /Src/utils.c | |
parent | 286ca1d4875af0ee5b954ab0c00e1aee64226e08 (diff) | |
download | zsh-78d1939ffd229c8c4ff303bac6d41a08b983e65e.tar.gz zsh-78d1939ffd229c8c4ff303bac6d41a08b983e65e.tar.xz zsh-78d1939ffd229c8c4ff303bac6d41a08b983e65e.zip |
22753: minor character bugs spotted on Cygwin
Diffstat (limited to 'Src/utils.c')
-rw-r--r-- | Src/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c index 415e86151..e91baf970 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2019,9 +2019,10 @@ mod_export int noquery(int purge) { int val = 0; - char c; #ifdef FIONREAD + char c; + ioctl(SHTTY, FIONREAD, (char *)&val); if (purge) { for (; val; val--) |