search for: ae83508b

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

2020 Mar 28
0
[klibc:master] dash: shell: Fix clang warnings about "string plus integer"
...2 at ao2.it> 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 | 3 ++- usr/dash/jobs.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/dash/eval.c b/usr/dash/eval.c index ae83508b..dd144948 100644 --- a/usr/dash/eval.c +++ b/usr/dash/eval.c @@ -1081,7 +1081,8 @@ eprintlist(struct output *out, struct strlist *sp, int sep) while (sp) { const char *p; - p = " %s" + (1 - sep); + p = " %s"; + p += (1 - sep); sep |= 1; outfmt(out, p, sp->text...
2019 Jan 25
0
[klibc:update-dash] [SHELL] Optimize dash -c "command" to avoid a fork
...d from git://git.kernel.org/pub/scm/utils/dash/dash.git It corresponds up to changeset 46abc8c6d8a5e9a5712bdc1312c0b6960eec65a4 -omitting ee5cbe9fd6bc02f31b4d955606288de36c3d4eab. HOWTO sync branch: 1) Generate patch and fix up their path diff --git a/usr/dash/eval.c b/usr/dash/eval.c index ae83508b..da39136d 100644 --- a/usr/dash/eval.c +++ b/usr/dash/eval.c @@ -65,10 +65,6 @@ #endif -/* flags in argument to evaltree */ -#define EV_EXIT 01 /* exit after evaluating tree */ -#define EV_TESTED 02 /* exit status is checked; ignore -e flag */ - int evalskip; /* set if we are skipping com...