[git commit] ash: fix compile breakage in !ENABLE_ASH_ALIAS config
Denys Vlasenko
vda.linux at googlemail.com
Tue Sep 28 15:41:56 UTC 2021
commit: https://git.busybox.net/busybox/commit/?id=5b026d1ecf2df93d31248153a7f5d0c45a5d12fa
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
shell/ash.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shell/ash.c b/shell/ash.c
index 4bc4f55d0..4bf0615ea 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -10941,14 +10941,14 @@ static void freestrings(struct strpush *sp)
INT_OFF;
do {
struct strpush *psp;
-
+#if ENABLE_ASH_ALIAS
if (sp->ap) {
sp->ap->flag &= ~ALIASINUSE;
if (sp->ap->flag & ALIASDEAD) {
unalias(sp->ap->name);
}
}
-
+#endif
psp = sp;
sp = sp->spfree;
More information about the busybox-cvs
mailing list