Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: ignore-line
- X-seq: zsh-workers 11679
 
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: PATCH: ignore-line
 
- Date: Wed, 31 May 2000 08:12:26 +0200 (MET DST)
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
This was partially broken by the -[ak] option patch. Missing
initialisation for to variables.
Bye
 Sven
Index: Src/Zle/compcore.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/compcore.c,v
retrieving revision 1.25
diff -u -r1.25 compcore.c
--- Src/Zle/compcore.c	2000/05/29 12:42:59	1.25
+++ Src/Zle/compcore.c	2000/05/31 06:11:29
@@ -1895,6 +1895,10 @@
 		argv = &ms;
 	    }
 	}
+	if (dat->ppre)
+	    ppl = strlen(dat->ppre);
+	if (dat->psuf)
+	    psl = strlen(dat->psuf);
 	for (; (s = *argv); argv++) {
 	    bpl = obpl;
 	    bsl = obsl;
--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author