From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26123 invoked from network); 22 Nov 1999 16:59:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Nov 1999 16:59:26 -0000 Received: (qmail 11707 invoked by alias); 22 Nov 1999 16:59:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8728 Received: (qmail 11700 invoked from network); 22 Nov 1999 16:59:08 -0000 Sender: aduret@venus.l2i To: zsh-workers@sunsite.auc.dk Subject: PATCH: _argument, a repeated local, again From: Alexandre Duret-Lutz Date: 22 Nov 1999 17:59:07 +0000 In-Reply-To: Sven Wischnowsky's message of "Mon, 22 Nov 1999 10:39:35 +0100 (MET)" Message-ID: <7dpux2wgpg.fsf@venus.l2i> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii ~ % rlogin foo ~ % rlogin fooprefix=ant suffix='' That was a local left in a while loop. --- _arguments.old Mon Nov 22 17:49:39 1999 +++ _arguments Mon Nov 22 17:52:13 1999 @@ -166,7 +166,7 @@ if comparguments -i "$autod" "$@"; then local nm="$compstate[nmatches]" action noargs aret expl local local next direct odirect equal single match matched ws tmp1 tmp2 - local opts subc + local opts subc prefix suffix if comparguments -D descr action; then comparguments -C subc @@ -288,8 +288,6 @@ fi if [[ -n "$opts" && -z "$aret$matched" && nm -eq compstate[nmatches] ]]; then - - local prefix suffix prefix="${PREFIX#*\=}" suffix="$SUFFIX" -- Alexandre Duret-Lutz