ash: fix compile breakage in !ENABLE_ASH_ALIAS config
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
03ed86b39e
commit
5b026d1ecf
@ -10941,14 +10941,14 @@ static void freestrings(struct strpush *sp)
|
|||||||
INT_OFF;
|
INT_OFF;
|
||||||
do {
|
do {
|
||||||
struct strpush *psp;
|
struct strpush *psp;
|
||||||
|
#if ENABLE_ASH_ALIAS
|
||||||
if (sp->ap) {
|
if (sp->ap) {
|
||||||
sp->ap->flag &= ~ALIASINUSE;
|
sp->ap->flag &= ~ALIASINUSE;
|
||||||
if (sp->ap->flag & ALIASDEAD) {
|
if (sp->ap->flag & ALIASDEAD) {
|
||||||
unalias(sp->ap->name);
|
unalias(sp->ap->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
psp = sp;
|
psp = sp;
|
||||||
sp = sp->spfree;
|
sp = sp->spfree;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user