search for: f9ea9198

Displaying 3 results from an estimated 3 matches for "f9ea9198".

2019 Jan 25
0
[klibc:update-dash] [ERROR] Set exitstatus in onint
...bert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/error.c | 1 + usr/dash/eval.c | 22 ++++++++-------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/usr/dash/error.c b/usr/dash/error.c index 9d31989e..f9ea9198 100644 --- a/usr/dash/error.c +++ b/usr/dash/error.c @@ -105,6 +105,7 @@ onint(void) { signal(SIGINT, SIG_DFL); raise(SIGINT); } + exitstatus = SIGINT + 128; exraise(EXINT); /* NOTREACHED */ } diff --git a/usr/dash/eval.c b/usr/dash/eval.c index 741bf120..501d47fe 100644 --- a/usr/dash...
2020 Mar 28
0
[klibc:update-dash] dash: [ERROR] Set exitstatus in onint
...bert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/error.c | 1 + usr/dash/eval.c | 22 ++++++++-------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/usr/dash/error.c b/usr/dash/error.c index 9d31989e..f9ea9198 100644 --- a/usr/dash/error.c +++ b/usr/dash/error.c @@ -105,6 +105,7 @@ onint(void) { signal(SIGINT, SIG_DFL); raise(SIGINT); } + exitstatus = SIGINT + 128; exraise(EXINT); /* NOTREACHED */ } diff --git a/usr/dash/eval.c b/usr/dash/eval.c index 578d8919..b3e971bf 100644 --- a/usr/dash...
2020 Mar 28
0
[klibc:update-dash] dash: eval: Add vfork support
...dash/exec.h | 2 ++ usr/dash/jobs.c | 86 +++++++++++++++++++++++++++++++++++++++++++------------- usr/dash/jobs.h | 4 +++ usr/dash/trap.c | 22 +++++++++++++-- usr/dash/trap.h | 1 + 7 files changed, 99 insertions(+), 27 deletions(-) diff --git a/usr/dash/error.c b/usr/dash/error.c index f9ea9198..728ff885 100644 --- a/usr/dash/error.c +++ b/usr/dash/error.c @@ -43,6 +43,7 @@ #include <stdio.h> #include <string.h> +#include "jobs.h" #include "shell.h" #include "main.h" #include "options.h" @@ -81,6 +82,10 @@ exraise(int e) if (han...