diff options
Diffstat (limited to 'bin/dash/src/input.c')
-rw-r--r-- | bin/dash/src/input.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/dash/src/input.c b/bin/dash/src/input.c index 17544e78..4167bd18 100644 --- a/bin/dash/src/input.c +++ b/bin/dash/src/input.c @@ -152,12 +152,8 @@ retry: static const char *rl_cp; static int el_len; - if (rl_cp == NULL) { - struct stackmark smark; - pushstackmark(&smark, stackblocksize()); + if (rl_cp == NULL) rl_cp = el_gets(el, &el_len); - popstackmark(&smark); - } if (rl_cp == NULL) nr = 0; else { |