Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: small fix for compadd -X
- X-seq: zsh-workers 5623
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: small fix for compadd -X
- Date: Wed, 3 Mar 1999 12:50:42 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
While playing with this I discovered that matches added with `compadd'
without a `-X' got counted to the last `-X' that was used.
Bye
Sven
--- os/Zle/zle_tricky.c Wed Mar 3 11:46:45 1999
+++ Src/Zle/zle_tricky.c Wed Mar 3 12:34:24 1999
@@ -4302,7 +4302,7 @@
cm->rems = rems;
addlinknode(l, cm);
- if (expl) {
+ if (exp) {
if (l == matches)
expl->count++;
else
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author