1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

zsh-workers/9305

This commit is contained in:
Tanaka Akira 2000-01-13 09:47:43 +00:00
parent 8ddf6cc4e3
commit f1de582703

View file

@ -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