diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-06-06 21:08:05 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-06-06 21:08:05 +0000 |
| commit | 79fb1e455e2e501c1ac501ed8dd6832e29c76ac0 (patch) | |
| tree | 19ccb3629cef9a54a54dd474223e5f264dcef010 /bin/sh | |
| parent | 9086e0e06819bdf7290dc15cc04985fe8e66a711 (diff) | |
Notes
Diffstat (limited to 'bin/sh')
| -rw-r--r-- | bin/sh/histedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c index b6ea93e97848..8e2f927cfe06 100644 --- a/bin/sh/histedit.c +++ b/bin/sh/histedit.c @@ -376,10 +376,10 @@ histcmd(int argc, char **argv __unused) char *editcmd; fclose(efp); + INTON; editcmd = stalloc(strlen(editor) + strlen(editfile) + 2); sprintf(editcmd, "%s %s", editor, editfile); evalstring(editcmd, 0); /* XXX - should use no JC command */ - INTON; readcmdfile(editfile); /* XXX - should read back - quick tst */ unlink(editfile); } |
