1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-30 05:40:58 +01:00

21575 plus unposted: Add WARN_CREATE_GLOBAL option

This commit is contained in:
Peter Stephenson 2005-08-08 16:48:52 +00:00
parent d7902f6bad
commit d307660dee
10 changed files with 64 additions and 15 deletions

View file

@ -135,7 +135,9 @@ elif (( ! $#read_fds )); then
read_fds[$tcp_by_name[$TCP_SESS]]=1
fi
typeset -ga tcp_lines
tcp_lines=()
local helper_stat=2 skip tpat reply REPLY
float newtimeout
@ -217,7 +219,7 @@ while (( ${#read_fds} )); do
$noprint "$line"
# REPLY is now set to the line with an appropriate prompt.
tcp_lines+=($REPLY)
TCP_LINE=$REPLY TCP_LINE_FD=$read_fd
typeset -g TCP_LINE="$REPLY" TCP_LINE_FD="$read_fd"
# Only handle one line from one device at a time unless draining.
[[ -z $drain ]] && return $stat