diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-04 15:28:03 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-04 15:28:03 +0200 |
commit | 4840ae8a06298e987374fa3cc6d7e4969fd19344 (patch) | |
tree | 53fd9b0ffe5eb4a8798aa3fd6a3c1299c7357dc0 /shell/ash.c | |
parent | 7b46220d922d7c6267a8442ff8c3a6d1ab106727 (diff) | |
download | busybox-w32-4840ae8a06298e987374fa3cc6d7e4969fd19344.tar.gz busybox-w32-4840ae8a06298e987374fa3cc6d7e4969fd19344.tar.bz2 busybox-w32-4840ae8a06298e987374fa3cc6d7e4969fd19344.zip |
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 d48cd016f..bf376bd0d 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -13194,7 +13194,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv) | |||
13194 | } | 13194 | } |
13195 | 13195 | ||
13196 | if (sflag || minusc == NULL) { | 13196 | if (sflag || minusc == NULL) { |
13197 | #if defined MAX_HISTORY && MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY | 13197 | #if MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY |
13198 | if (iflag) { | 13198 | if (iflag) { |
13199 | const char *hp = lookupvar("HISTFILE"); | 13199 | const char *hp = lookupvar("HISTFILE"); |
13200 | if (hp) | 13200 | if (hp) |