diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2003-02-05 11:56:55 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-02-05 11:56:55 +0000 |
| commit | 590a26709a67abf13eeec66f161b0ec085637459 (patch) | |
| tree | ea78dc37f3be5fc553682c81a876f27c25cd6d6e /Src/Modules/zpty.c | |
| parent | 18086: I don't know how this got missed out... (diff) | |
| download | zsh-590a26709a67abf13eeec66f161b0ec085637459.tar zsh-590a26709a67abf13eeec66f161b0ec085637459.tar.gz zsh-590a26709a67abf13eeec66f161b0ec085637459.tar.bz2 zsh-590a26709a67abf13eeec66f161b0ec085637459.tar.lz zsh-590a26709a67abf13eeec66f161b0ec085637459.tar.xz zsh-590a26709a67abf13eeec66f161b0ec085637459.tar.zst zsh-590a26709a67abf13eeec66f161b0ec085637459.zip | |
18195: Timeouts for read builtin.
Diffstat (limited to 'Src/Modules/zpty.c')
| -rw-r--r-- | Src/Modules/zpty.c | 2 |
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') ? |
