zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@tiny.zanshin.com>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: zsh-3.1.5-pws-11 plus: _long_options and compstate[matcher]
Date: Mon, 8 Mar 1999 10:35:50 -0800 (PST)	[thread overview]
Message-ID: <14052.6278.382505.243437@localhost.localdomain> (raw)

This is the same bug that I had to patch in _match_test before.  Please
remember that compstate[matcher] may be ZERO!  I think this is the right
fix.

--- _long_options.bak	Mon Mar  8 10:28:51 1999
+++ _long_options	Mon Mar  8 10:30:54 1999
@@ -180,7 +180,7 @@
 
 # We get the string from the line and and see if it already contains a 
 # equal sign.
-[[ compstate[matcher] -ne 1 ]] && return
+(( compstate[matcher] > 1 )) && return
 
 str="$PREFIX$SUFFIX"
 


             reply	other threads:[~1999-03-08 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-08 18:35 Bart Schaefer [this message]
1999-03-09  7:58 Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14052.6278.382505.243437@localhost.localdomain \
    --to=schaefer@tiny.zanshin.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).