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

PATCH: compadd -D



[As I said, from now on my patches are relative to 10230 and 10231. If 
anyone objects to one of them (10231 will partly be taken back by one
of the following patches), please tell me.]

This sometimes deleted the wrong strings when combined with -F.

Bye
 Sven

diff -ru ../z.old/Src/Zle/compcore.c Src/Zle/compcore.c
--- ../z.old/Src/Zle/compcore.c	Mon Mar 27 10:25:02 2000
+++ Src/Zle/compcore.c	Mon Mar 27 10:37:56 2000
@@ -1807,6 +1807,8 @@
 		}
 		if (!addit) {
 		    compignored++;
+		    if (dparr && !*++dparr)
+			dparr = NULL;
 		    continue;
 		}
 	    }

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author