search for: 6ba64b12

Displaying 2 results from an estimated 2 matches for "6ba64b12".

Did you mean: 5be64b12
2019 Jan 25
0
[klibc:update-dash] eval: Reap zombies after built-in commands and functions
...Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/eval.c | 11 ++++++----- usr/dash/jobs.c | 8 +++++--- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/usr/dash/eval.c b/usr/dash/eval.c index 6ba64b12..811c28a4 100644 --- a/usr/dash/eval.c +++ b/usr/dash/eval.c @@ -848,6 +848,8 @@ bail: goto out; } + jp = NULL; + /* Execute the command. */ switch (cmdentry.cmdtype) { default: @@ -856,7 +858,6 @@ bail: INTOFF; jp = makejob(cmd, 1); if (forkshell(jp, cmd, FORK_FG) != 0) {...
2019 Jan 25
0
[klibc:update-dash] eval: Return status in eval functions
...Ben Hutchings <ben at decadent.org.uk> --- usr/dash/eval.c | 139 ++++++++++++++++++++++++++++++-------------------------- usr/dash/eval.h | 2 +- usr/dash/main.c | 6 ++- 3 files changed, 80 insertions(+), 67 deletions(-) diff --git a/usr/dash/eval.c b/usr/dash/eval.c index ef6ec0ef..6ba64b12 100644 --- a/usr/dash/eval.c +++ b/usr/dash/eval.c @@ -81,16 +81,16 @@ int savestatus = -1; /* exit status of last command outside traps */ STATIC #endif void evaltreenr(union node *, int) __attribute__ ((__noreturn__)); -STATIC void evalloop(union node *, int); -STATIC void evalfor(union node...