summaryrefslogtreecommitdiffstats
path: root/Src
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-06-26 09:06:10 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-06-26 09:06:10 +0000
commitfbccda6ab4a9c375b3539f1ca52a3da8aa4ecefb (patch)
treed7ba5020eaaac0c92a8d195f34f7b63f669ab17d /Src
parentMore merges: 14973,14976, and some whitespace. (diff)
downloadzsh-4.0.2.tar
zsh-4.0.2.tar.gz
zsh-4.0.2.tar.bz2
zsh-4.0.2.tar.lz
zsh-4.0.2.tar.xz
zsh-4.0.2.tar.zst
zsh-4.0.2.zip
(user/3946)zsh-4.0.2
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/computil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 9937e8215..870bbcce8 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -3719,6 +3719,8 @@ cf_remove_other(char **names, char *pre, int *amb)
if ((q = strchr((p = dupstring(p)), '/')))
*q = '\0';
+ p = dyncat(p, "/");
+
for (; *names; names++)
if (!strpfx(p, *names)) {
*amb = 1;