mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
manual/9305-for-dev-15
This commit is contained in:
parent
c8eba737c7
commit
240bb5d581
1 changed files with 5 additions and 3 deletions
|
@ -2569,9 +2569,11 @@ permmatches(int last)
|
|||
static int fi = 0;
|
||||
int nn, nl, ll, gn = 1, mn = 1, rn;
|
||||
|
||||
if (pmatches && !newmatches)
|
||||
if (pmatches && !newmatches) {
|
||||
if (last && fi)
|
||||
ainfo = fainfo;
|
||||
return fi;
|
||||
|
||||
}
|
||||
newmatches = fi = 0;
|
||||
|
||||
if (pmatches)
|
||||
|
@ -2587,7 +2589,7 @@ permmatches(int last)
|
|||
}
|
||||
while (g) {
|
||||
HEAPALLOC {
|
||||
if (empty(g->lmatches))
|
||||
if (fi)
|
||||
/* We have no matches, try ignoring fignore. */
|
||||
mlist = g->lfmatches;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue