about summary refs log tree commit diff
path: root/Functions/TCP/tcp_send
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-07-25 10:53:44 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-07-25 10:53:44 +0000
commit0f080f741cb1a1402e87e6516af92601bff0fccd (patch)
tree9dfe48eaf9c2525e619c7e17dcf52373342afe4a /Functions/TCP/tcp_send
parentadf2c2a0b606cae3de93bc2e452edf8213cb1d4a (diff)
downloadzsh-0f080f741cb1a1402e87e6516af92601bff0fccd.tar.gz
zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.tar.xz
zsh-0f080f741cb1a1402e87e6516af92601bff0fccd.zip
18908: use print/read -u in completion system and tweak builtin doc
Diffstat (limited to 'Functions/TCP/tcp_send')
-rw-r--r--Functions/TCP/tcp_send2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/TCP/tcp_send b/Functions/TCP/tcp_send
index c5f902f71..c6d8ad637 100644
--- a/Functions/TCP/tcp_send
+++ b/Functions/TCP/tcp_send
@@ -62,7 +62,7 @@ for TCP_SESS in $sessions; do
 	mystat=1
 	continue
     fi
-    print $nonewline -r -- $* >&$fd
+    print -u $fd $nonewline -r -- $*
     if [[ $? -ne 0 || -n $TCP_FD_CLOSED ]]; then
 	print "Session ${TCP_SESS}: fd $fd unusable." >&2
 	unset TCP_FD_CLOSED