Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Approximate completion
- X-seq: zsh-workers 9195
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: Approximate completion
- Date: Tue, 4 Jan 2000 11:40:03 +0100 (MET)
- In-reply-to: Sven Wischnowsky's message of Tue, 4 Jan 2000 09:10:29 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I wrote:
> But I forgot to update the cached
> prefix-length after extracting the flags.
Uh oh. Two more of these...
Bye
Sven
diff -ru ../z.old/Src/Zle/compcore.c Src/Zle/compcore.c
--- ../z.old/Src/Zle/compcore.c Tue Jan 4 10:15:43 2000
+++ Src/Zle/compcore.c Tue Jan 4 11:35:20 2000
@@ -1696,6 +1696,7 @@
}
pline = matchparts;
lpre += ml;
+ llpl -= ml;
bcp = ml;
bpadd = strlen(s) - ml;
} else {
@@ -1721,6 +1722,7 @@
}
sline = revert_cline(matchparts);
lsuf[llsl - ml] = '\0';
+ llsl -= ml;
bcs = ml;
bsadd = strlen(s) - ml;
} else {
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author