search for: el_len

Displaying 2 results from an estimated 2 matches for "el_len".

Did you mean: l_len
2019 Jan 25
0
[klibc:update-dash] input: Fix here-document redirection with vi/emacs on
...ecadent.org.uk> --- usr/dash/input.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr/dash/input.c b/usr/dash/input.c index 06c08d49..e53423c5 100644 --- a/usr/dash/input.c +++ b/usr/dash/input.c @@ -147,8 +147,12 @@ retry: static const char *rl_cp; static int el_len; - if (rl_cp == NULL) + if (rl_cp == NULL) { + struct stackmark smark; + pushstackmark(&smark, stackblocksize()); rl_cp = el_gets(el, &el_len); + popstackmark(&smark); + } if (rl_cp == NULL) nr = 0; else {
2020 Mar 28
0
[klibc:update-dash] dash: input: Fix here-document redirection with vi/emacs on
...ecadent.org.uk> --- usr/dash/input.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr/dash/input.c b/usr/dash/input.c index 06c08d49..e53423c5 100644 --- a/usr/dash/input.c +++ b/usr/dash/input.c @@ -147,8 +147,12 @@ retry: static const char *rl_cp; static int el_len; - if (rl_cp == NULL) + if (rl_cp == NULL) { + struct stackmark smark; + pushstackmark(&smark, stackblocksize()); rl_cp = el_gets(el, &el_len); + popstackmark(&smark); + } if (rl_cp == NULL) nr = 0; else {