Displaying 3 results from an estimated 3 matches for "sigout".
Did you mean:
signout
2020 Mar 28
0
[klibc:update-dash] dash: jobs: Only clear gotsigchld when waiting for everything
...for (jp = curjob; jp; jp = jp->prev_job) {
if (!(mode & SHOW_CHANGED) || jp->changed)
@@ -613,7 +610,7 @@ waitcmd(int argc, char **argv)
jp->waited = 1;
jp = jp->prev_job;
}
- if (dowait(DOWAIT_WAITCMD, 0) <= 0)
+ if (!dowait(DOWAIT_WAITCMD, 0))
goto sigout;
}
}
@@ -635,9 +632,8 @@ start:
} else
job = getjob(*argv, 0);
/* loop until process terminated or stopped */
- while (job->state == JOBRUNNING)
- if (dowait(DOWAIT_WAITCMD, 0) <= 0)
- goto sigout;
+ if (!dowait(DOWAIT_WAITCMD, job))
+ goto sigout;
job->waited =...
2019 Jan 25
0
[klibc:update-dash] trap: Globally rename pendingsigs to pending_sig
...in.c | 2 +-
usr/dash/trap.c | 10 +++++-----
usr/dash/trap.h | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c
index 5e080f6a..a2602bae 100644
--- a/usr/dash/jobs.c
+++ b/usr/dash/jobs.c
@@ -647,7 +647,7 @@ out:
return retval;
sigout:
- retval = 128 + pendingsigs;
+ retval = 128 + pending_sig;
goto out;
}
@@ -1146,7 +1146,7 @@ waitproc(int block, int *status)
sigfillset(&mask);
sigprocmask(SIG_SETMASK, &mask, &oldmask);
- while (!gotsigchld && !pendingsigs)
+ while (!gotsigchld && !pen...
2020 Mar 28
0
[klibc:update-dash] dash: trap: Globally rename pendingsigs to pending_sig
...in.c | 2 +-
usr/dash/trap.c | 10 +++++-----
usr/dash/trap.h | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c
index c1f9688f..333a2a22 100644
--- a/usr/dash/jobs.c
+++ b/usr/dash/jobs.c
@@ -647,7 +647,7 @@ out:
return retval;
sigout:
- retval = 128 + pendingsigs;
+ retval = 128 + pending_sig;
goto out;
}
@@ -1146,7 +1146,7 @@ waitproc(int block, int *status)
sigfillset(&mask);
sigprocmask(SIG_SETMASK, &mask, &oldmask);
- while (!gotsigchld && !pendingsigs)
+ while (!gotsigchld && !pen...