Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: was: Re: zsh bug
- X-seq: zsh-workers 6351
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: was: Re: zsh bug
- Date: Wed, 26 May 1999 08:26:04 +0200 (MET DST)
- Cc: Glenn Trigg <glenn@xxxxxxxxxxxxxxx>
- In-reply-to: Sven Wischnowsky's message of Tue, 25 May 1999 10:39:24 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I wrote this patch:
> --- Src/zle_tricky.c Tue May 25 10:32:35 1999
> +++ Src/zle_tricky.c.old Mon May 10 13:21:55 1999
> @@ -1069,14 +1069,13 @@
> we = ll;
> tt = (char *)line;
> if (tmp) {
> - linptr += tmp - (char *) line;
> line = (unsigned char *)tmp;
> ll = strlen((char *)line);
> - addedx = 0;
> }
> if (t0 != STRING && inwhat != IN_MATH) {
> if (tmp) {
> tmp = NULL;
> + linptr = (char *)line;
> lexrestore();
> goto start;
> }
Err, Bart, Greg: sorry, but this patch is reversed, dunno how this
happened. Here is it the right way round.
Bye
Sven
--- Src/zle_tricky.c.old Mon May 10 13:21:55 1999
+++ Src/zle_tricky.c Tue May 25 10:32:35 1999
@@ -1069,13 +1069,14 @@
we = ll;
tt = (char *)line;
if (tmp) {
+ linptr += tmp - (char *) line;
line = (unsigned char *)tmp;
ll = strlen((char *)line);
+ addedx = 0;
}
if (t0 != STRING && inwhat != IN_MATH) {
if (tmp) {
tmp = NULL;
- linptr = (char *)line;
lexrestore();
goto start;
}
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author