[git commit] hush: fix compile problem found by randomconfig

Denys Vlasenko vda.linux at googlemail.com
Tue Jun 26 16:09:22 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=b2b14cbd4c20d4dda1599fc95680b0583533ab48
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/hush.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shell/hush.c b/shell/hush.c
index 5d907e200..c3cb9382a 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2373,7 +2373,8 @@ static int unset_local_var(const char *name)
 }
 #endif
 
-#if BASH_HOSTNAME_VAR || ENABLE_FEATURE_SH_MATH || ENABLE_HUSH_READ || ENABLE_HUSH_GETOPTS
+#if BASH_HOSTNAME_VAR || ENABLE_FEATURE_SH_MATH || ENABLE_HUSH_READ || ENABLE_HUSH_GETOPTS \
+ || (ENABLE_HUSH_INTERACTIVE && ENABLE_FEATURE_EDITING_FANCY_PROMPT)
 static void FAST_FUNC set_local_var_from_halves(const char *name, const char *val)
 {
 	char *var = xasprintf("%s=%s", name, val);


More information about the busybox-cvs mailing list