[git commit master] ash: randmconfig fix

Denys Vlasenko vda.linux at googlemail.com
Sat Nov 28 23:12:30 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=0337e038a9354706f4bcfd9954c0219b0b8faba0
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/shell/ash.c b/shell/ash.c
index 1cfef27..dac7318 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13301,7 +13301,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv)
 	}
 
 	if (sflag || minusc == NULL) {
-#if MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY
+#if defined MAX_HISTORY && MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY
 		if (iflag) {
 			const char *hp = lookupvar("HISTFILE");
 			if (hp)
-- 
1.6.3.3



More information about the busybox-cvs mailing list