diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-10-30 14:04:30 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-10-30 14:04:30 +0000 |
commit | 176e0dc8217d97be260bdb8f38e7bd5ddeecdf95 (patch) | |
tree | 3ac7002f4e39aed25a74887a31a4f081efa8ec59 | |
parent | 2c16d989ba6912ec3feb5941e2c96a94200b881f (diff) | |
download | zsh-176e0dc8217d97be260bdb8f38e7bd5ddeecdf95.tar.gz zsh-176e0dc8217d97be260bdb8f38e7bd5ddeecdf95.tar.xz zsh-176e0dc8217d97be260bdb8f38e7bd5ddeecdf95.zip |
25963: Interrupt at spell check prompt output garbage
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Src/utils.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 8d531b5f1..2e7463eca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,15 @@ 2008-10-30 Peter Stephenson <pws@csr.com> + * 25963: Src/utils.c: Interrupt at spell check prompt output + garbage. + * 25961: configure.ac: some sh's don't handle opening parentheses in case. * unposted: NEWS, README, Config/version.mk, Etc/FAQ.yo, Etc/relnote_4.3.7.txt, Etc/relnote_4.3.8.txt, - Etc/relnote_4.3.9.txt: try again with 4.3.9. + Etc/relnote_4.3.9.txt: try again with 4.3.9 (N.B. not yet + released, CVS tag not finalised). * 25958: INSTALL: Doc/Makefile.in, Doc/Zsh/filelist.yo, Doc/Zsh/files.yo, Doc/Zsh/options.yo: make it possible to diff --git a/Src/utils.c b/Src/utils.c index ec2ae5f25..1dd8c3577 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2184,7 +2184,8 @@ getquery(char *valid_chars, int purge) } zbeep(); } - write(SHTTY, &c, 1); + if (c >= 0) + write(SHTTY, &c, 1); if (nl) write(SHTTY, "\n", 1); |