mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-24 05:11:08 +02:00
(user/3946)
This commit is contained in:
parent
563fbed02c
commit
fbccda6ab4
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-06-26 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* user/3946: Src/Zle/computil.c: fix for finding the first
|
||||
ambiguous path component in compfiles
|
||||
|
||||
2001-06-25 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* unposted: Config/version.mk: version zsh-4.0.2.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue