diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-25 10:53:44 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-25 10:53:44 +0000 |
| commit | 0f080f741cb1a1402e87e6516af92601bff0fccd (patch) | |
| tree | 9dfe48eaf9c2525e619c7e17dcf52373342afe4a /Functions/TCP/tcp_read | |
| parent | 18893, 18901: new completions for rar/unrar and ogg vorbis; improve _pkgtool (diff) | |
| download | zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.tar zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.tar.gz zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.tar.bz2 zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.tar.lz zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.tar.xz zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.tar.zst zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.zip | |
18908: use print/read -u in completion system and tweak builtin doc
Diffstat (limited to 'Functions/TCP/tcp_read')
| -rw-r--r-- | Functions/TCP/tcp_read | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/TCP/tcp_read b/Functions/TCP/tcp_read index 51e5356cc..f70bd798c 100644 --- a/Functions/TCP/tcp_read +++ b/Functions/TCP/tcp_read @@ -190,7 +190,7 @@ while (( ${#read_fds} )); do print "[tcp_read: returned fds ${reply}]" >&2 fi for read_fd in ${reply[2,-1]}; do - if ! read -r line <&$read_fd; then + if ! read -u $read_fd -r line; then unset "read_fds[$read_fd]" stat=1 continue |
