Displaying 2 results from an estimated 2 matches for "2c277153".
Did you mean:
277153
2020 Mar 28
0
[klibc:update-dash] dash: jobs: Replace some uses of fmtstr with stpcpy/stpncpy
...silence compiler warnings.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/jobs.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c
index 2c277153..9e7244e1 100644
--- a/usr/dash/jobs.c
+++ b/usr/dash/jobs.c
@@ -404,12 +404,11 @@ out:
#endif
STATIC int
-sprint_status(char *s, int status, int sigonly)
+sprint_status(char *os, int status, int sigonly)
{
- int col;
+ char *s = os;
int st;
- col = 0;
st = WEXITSTATUS(status);
if (!WI...
2020 Mar 28
0
[klibc:update-dash] dash: jobs: Only clear gotsigchld when waiting for everything
...<herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/jobs.c | 94 ++++++++++++++++++++-------------------------------------
1 file changed, 32 insertions(+), 62 deletions(-)
diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c
index 400628ff..2c277153 100644
--- a/usr/dash/jobs.c
+++ b/usr/dash/jobs.c
@@ -96,8 +96,6 @@ static int ttyfd = -1;
/* current job */
static struct job *curjob;
-/* number of presumed living untracked jobs */
-static int jobless;
STATIC void set_curjob(struct job *, unsigned);
STATIC int jobno(const struct job *);...