about summary refs log tree commit diff
path: root/Src/Modules/zpty.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-02-05 11:56:55 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-02-05 11:56:55 +0000
commit590a26709a67abf13eeec66f161b0ec085637459 (patch)
treeea78dc37f3be5fc553682c81a876f27c25cd6d6e /Src/Modules/zpty.c
parentf87232c120696b6e33b241e814d4e9b48efc13d7 (diff)
downloadzsh-590a26709a67abf13eeec66f161b0ec085637459.tar.gz
zsh-590a26709a67abf13eeec66f161b0ec085637459.tar.xz
zsh-590a26709a67abf13eeec66f161b0ec085637459.zip
18195: Timeouts for read builtin.
Diffstat (limited to 'Src/Modules/zpty.c')
-rw-r--r--Src/Modules/zpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c
index 1be615610..7d33bd064 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -632,7 +632,7 @@ bin_zpty(char *nam, char **args, Options ops, int func)
 	if (p->fin)
 	    return 2;
 	if (OPT_ISSET(ops,'t') && p->read == -1 &&
-	    !read_poll(p->fd, &p->read, 0))
+	    !read_poll(p->fd, &p->read, 0, 0))
 	    return 1;
 
 	return (OPT_ISSET(ops,'r') ?