about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-02 08:40:51 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-02 08:40:51 +0000
commit40a295bdf91392ffff3eb59a317ecf76bb51ae3e (patch)
tree1e9ceb112d67e335afe27ad8d19257c0665612ff /Src
parentc931efdf3c59049726f99f4cf056932a7a69ca02 (diff)
downloadzsh-40a295bdf91392ffff3eb59a317ecf76bb51ae3e.tar.gz
zsh-40a295bdf91392ffff3eb59a317ecf76bb51ae3e.tar.xz
zsh-40a295bdf91392ffff3eb59a317ecf76bb51ae3e.zip
zsh-workers/9522
Diffstat (limited to 'Src')
-rw-r--r--Src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 9d8432cc3..e1214302c 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -1300,7 +1300,7 @@ read1char(void)
     char c;
 
     while (read(SHTTY, &c, 1) != 1) {
-	if (errno != EINTR || errflag)
+	if (errno != EINTR || errflag || retflag || breaks || contflag)
 	    return -1;
     }
     return STOUC(c);