about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Src/utils.c3
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);