diff options
author | Denys Vlasenko | 2011-09-04 15:28:03 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-09-04 15:28:03 +0200 |
commit | 4840ae8a06298e987374fa3cc6d7e4969fd19344 (patch) | |
tree | 53fd9b0ffe5eb4a8798aa3fd6a3c1299c7357dc0 /shell/ash.c | |
parent | 7b46220d922d7c6267a8442ff8c3a6d1ab106727 (diff) | |
download | busybox-4840ae8a06298e987374fa3cc6d7e4969fd19344.zip busybox-4840ae8a06298e987374fa3cc6d7e4969fd19344.tar.gz |
lineedit: fix atomic replace of history file; hush: fix $HISTFILE handling
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index d48cd01..bf376bd 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -13194,7 +13194,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv) } if (sflag || minusc == NULL) { -#if defined MAX_HISTORY && MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY +#if MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY if (iflag) { const char *hp = lookupvar("HISTFILE"); if (hp) |