Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: zlehist thinko
- X-seq: zsh-workers 14553
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: zlehist thinko
- Date: Tue, 29 May 2001 17:41:20 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
The mailing list seems to be on a go-slow.
Index: Src/Zle/zle_hist.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_hist.c,v
retrieving revision 1.3
diff -u -r1.3 zle_hist.c
--- Src/Zle/zle_hist.c 2001/05/29 20:20:35 1.3
+++ Src/Zle/zle_hist.c 2001/05/29 21:34:52
@@ -996,7 +996,7 @@
visrchstr = metafy(sbuf + 1, sptr - 1, META_DUP);
if (!strlen(visrchstr)) {
zsfree(visrchstr);
- visrchstr = vipenultsrchstr;
+ visrchstr = ztrdup(vipenultsrchstr);
}
ret = 1;
sptr = 0;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author