diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 14:55:55 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 14:55:56 +0900 |
commit | 8d39e6d71933b767be25ad1af9b0e7811b68d887 (patch) | |
tree | 0c9f0352bf11c867b548b7f77dea9092df874979 /src/histedit.c | |
parent | 28fa0c6c450514aa381ec146faf402c6cf08b507 (diff) | |
download | dash-8d39e6d71933b767be25ad1af9b0e7811b68d887.tar.gz dash-8d39e6d71933b767be25ad1af9b0e7811b68d887.tar.bz2 dash-8d39e6d71933b767be25ad1af9b0e7811b68d887.zip |
Imported Upstream version 0.5.9
Change-Id: I04e65a1a0673e829746152c57b2e8e0cce90719c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'src/histedit.c')
-rw-r--r-- | src/histedit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/histedit.c b/src/histedit.c index b27d629..94465d7 100644 --- a/src/histedit.c +++ b/src/histedit.c @@ -372,8 +372,7 @@ histcmd(int argc, char **argv) out2str(s); } - evalstring(strcpy(stalloc(strlen(s) + 1), s), - 0); + evalstring(s, 0); if (displayhist && hist) { /* * XXX what about recursive and |