diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-06-26 09:06:10 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-06-26 09:06:10 +0000 |
commit | fbccda6ab4a9c375b3539f1ca52a3da8aa4ecefb (patch) | |
tree | d7ba5020eaaac0c92a8d195f34f7b63f669ab17d /Src/Zle/computil.c | |
parent | 563fbed02c1fc4bdf43f261548a2c3f47a426ed2 (diff) | |
download | zsh-fbccda6ab4a9c375b3539f1ca52a3da8aa4ecefb.tar.gz zsh-fbccda6ab4a9c375b3539f1ca52a3da8aa4ecefb.tar.xz zsh-fbccda6ab4a9c375b3539f1ca52a3da8aa4ecefb.zip |
(user/3946) zsh-4.0.2
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r-- | Src/Zle/computil.c | 2 |
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; |