about summary refs log tree commit diff
path: root/Src/Zle/compmatch.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-12 13:50:13 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-12 13:50:13 +0000
commita11115ecee1b5fc02b4b714561ffdbc2d2a3e622 (patch)
tree46c9e6cfd0fbacf58d9ec3af256e3bfbe3d0d754 /Src/Zle/compmatch.c
parent2a78c248425635ebeca509097a92f5e190174813 (diff)
downloadzsh-a11115ecee1b5fc02b4b714561ffdbc2d2a3e622.tar.gz
zsh-a11115ecee1b5fc02b4b714561ffdbc2d2a3e622.tar.xz
zsh-a11115ecee1b5fc02b4b714561ffdbc2d2a3e622.zip
fix for 13339 (report each position only once) and fixlet for matching: a case where missing characters weren't remembered (13343)
Diffstat (limited to 'Src/Zle/compmatch.c')
-rw-r--r--Src/Zle/compmatch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index 5a46a2616..4a4c1c90e 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -1627,6 +1627,8 @@ join_psfx(Cline ot, Cline nt, Cline *orest, Cline *nrest, int sfx)
 	    *orest = NULL;
 	if (nrest)
 	    *nrest = n;
+	if (n)
+	    ot->flags |= CLF_MISS;
 
 	return;
     }