diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-01-03 10:55:39 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-01-03 10:55:39 +0100 |
commit | 3f8ec00b0c54790283cfec675716ef4b8e00bd8a (patch) | |
tree | 89d99ff038dea5ee9cb9911f2a4783cd373832e0 /shell/ash_test/ash-vars/var5.tests | |
parent | 5f2e00f66d11d99dad16c259aff331908bca4267 (diff) | |
download | busybox-3f8ec00b0c54790283cfec675716ef4b8e00bd8a.tar.gz |
ash: make a strdup copy of $HISTFILE for line editing
Otherwise if $HISTFILE is unset or reassigned, bad things can happen.
function old new delta
ash_main 1210 1218 +8
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars/var5.tests')
0 files changed, 0 insertions, 0 deletions