1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-02 20:00:57 +02:00

zsh-workers/7974

This commit is contained in:
Tanaka Akira 1999-09-22 13:02:59 +00:00
parent 3b0bd4cf4a
commit cf92dbd40b

View file

@ -7272,13 +7272,23 @@ makearray(LinkList l, int s, int *np, int *nlp, int *llp)
nl++;
}
*cp = NULL;
} else
} else {
for (ap = rp; *ap; ap++) {
for (bp = cp = ap + 1; *bp; bp++) {
if (!matcheq(*ap, *bp))
*cp++ = *bp;
else
n--;
}
*cp = NULL;
}
for (ap = rp; *ap; ap++) {
if ((*ap)->disp && ((*ap)->flags & CMF_DISPLINE))
ll++;
if ((*ap)->flags & CMF_NOLIST)
nl++;
}
}
if (np)
*np = n;
if (nlp)