From 7f9593753a194c3d3db79f803f68d2ebaf98cd12 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 14 Apr 2009 08:06:59 +0000 Subject: randomconfig fixes --- shell/hush.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'shell/hush.c') diff --git a/shell/hush.c b/shell/hush.c index ba3e2c3f0..b6e49db99 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -4069,11 +4069,15 @@ static void done_pipe(struct parse_context *ctx, pipe_style type) * RES_NONE case is for "for a in; do ..." (empty IN set) * and other cases to work. */ if (not_null -#if HAS_KEYWORDS +#if ENABLE_HUSH_IF || ctx->ctx_res_w == RES_FI +#endif +#if ENABLE_HUSH_LOOPS || ctx->ctx_res_w == RES_DONE || ctx->ctx_res_w == RES_FOR || ctx->ctx_res_w == RES_IN +#endif +#if ENABLE_HUSH_CASE || ctx->ctx_res_w == RES_ESAC #endif ) { -- cgit v1.2.3