Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: zlehist thinko



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