From 0f080f741cb1a1402e87e6516af92601bff0fccd Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 25 Jul 2003 10:53:44 +0000 Subject: 18908: use print/read -u in completion system and tweak builtin doc --- Functions/TCP/tcp_read | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/TCP/tcp_read') 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 -- cgit 1.4.1