Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unusable fd in tcp_send
- X-seq: zsh-workers 26046
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: unusable fd in tcp_send
- Date: Sat, 15 Nov 2008 16:47:32 +0000
- In-reply-to: <200811151632.mAFGWSl6003552@xxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20081115003954.GA2302@xxxxxxxx> <200811151632.mAFGWSl6003552@xxxxxxxxxxxxxxxxxxx>
On Sat, Nov 15, 2008 at 04:32:28PM +0000, Peter Stephenson wrote:
> That sounds like it makes sense.
Index: Functions/TCP/tcp_send
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/TCP/tcp_send,v
retrieving revision 1.4
diff -u -r1.4 tcp_send
--- Functions/TCP/tcp_send 8 Aug 2006 11:27:40 -0000 1.4
+++ Functions/TCP/tcp_send 15 Nov 2008 16:45:37 -0000
@@ -74,6 +74,8 @@
if [[ $? -ne 0 || -n $TCP_FD_CLOSED ]]; then
print "Session ${TCP_SESS}: fd $fd unusable." >&2
unset TCP_FD_CLOSED
+ mystat=1
+ continue
fi
if [[ -n $TCP_OUTPUT ]]; then
tcp_output -P "$TCP_OUTPUT" -S $TCP_SESS -F $fd -q "${(j. .)*}"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author