Displaying 4 results from an estimated 4 matches for "c04ff6e1".
2019 Jan 25
0
[klibc:update-dash] expand: Fixed "$@" expansion when EXP_FULL is false
...ue at jue.li>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/expand.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/usr/dash/expand.c b/usr/dash/expand.c
index a2f99f14..c04ff6e1 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -901,6 +901,7 @@ varvalue(char *name, int varflags, int flags, int *quotedp)
int quotes = (discard ? 0 : (flags & QUOTES_ESC)) | QUOTES_KEEPNUL;
ssize_t len = 0;
+ sep = (flags & EXP_FULL) << CHAR_BIT;
syntax = quoted ?...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fixed "$@" expansion when EXP_FULL is false
...ue at jue.li>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/expand.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/usr/dash/expand.c b/usr/dash/expand.c
index a2f99f14..c04ff6e1 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -901,6 +901,7 @@ varvalue(char *name, int varflags, int flags, int *quotedp)
int quotes = (discard ? 0 : (flags & QUOTES_ESC)) | QUOTES_KEEPNUL;
ssize_t len = 0;
+ sep = (flags & EXP_FULL) << CHAR_BIT;
syntax = quoted ?...
2019 Jan 25
0
[klibc:update-dash] builtin: Fix handling of trailing IFS white spaces
...<ben at decadent.org.uk>
---
usr/dash/expand.c | 111 ++++++++++++++++++++++++++++++++++++---------------
usr/dash/expand.h | 2 +-
usr/dash/miscbltin.c | 30 ++------------
3 files changed, 83 insertions(+), 60 deletions(-)
diff --git a/usr/dash/expand.c b/usr/dash/expand.c
index c04ff6e1..9079b74b 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -50,6 +50,7 @@
#include <glob.h>
#endif
#include <ctype.h>
+#include <stdbool.h>
/*
* Routines to expand arguments to commands. We have to deal with
@@ -203,7 +204,7 @@ expandarg(union node *arg, struct a...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Fix handling of trailing IFS white spaces
...<ben at decadent.org.uk>
---
usr/dash/expand.c | 111 ++++++++++++++++++++++++++++++++++++---------------
usr/dash/expand.h | 2 +-
usr/dash/miscbltin.c | 30 ++------------
3 files changed, 83 insertions(+), 60 deletions(-)
diff --git a/usr/dash/expand.c b/usr/dash/expand.c
index c04ff6e1..9079b74b 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -50,6 +50,7 @@
#include <glob.h>
#endif
#include <ctype.h>
+#include <stdbool.h>
/*
* Routines to expand arguments to commands. We have to deal with
@@ -203,7 +204,7 @@ expandarg(union node *arg, struct a...