From fbccda6ab4a9c375b3539f1ca52a3da8aa4ecefb Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 26 Jun 2001 09:06:10 +0000 Subject: (user/3946) --- Src/Zle/computil.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/Zle/computil.c') 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; -- cgit 1.4.1