Displaying 4 results from an estimated 4 matches for "153f6b7a".
2019 Jan 25
0
[klibc:update-dash] expand: Remove dependency on fmatch.h if it does not exit
...-by: Rink Springer <rink at rink.nu>
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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/usr/dash/expand.c b/usr/dash/expand.c
index e2d563fe..153f6b7a 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -45,7 +45,9 @@
#include <inttypes.h>
#include <limits.h>
#include <string.h>
+#ifdef HAVE_FNMATCH
#include <fnmatch.h>
+#endif
#ifdef HAVE_GLOB
#include <glob.h>
#endif
2019 Jan 25
0
[klibc:update-dash] expand: 'nolog' and 'debug' options cause "$-" to wreak havoc
...such options. Patch below.
- Martijn
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/dash/expand.c b/usr/dash/expand.c
index 153f6b7a..e86bd29d 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -927,7 +927,7 @@ numvar:
case '-':
p = makestrspace(NOPTS, expdest);
for (i = NOPTS - 1; i >= 0; i--) {
- if (optlist[i]) {
+ if (optlist[i] && optletters[i]) {
USTPUTC(optletters[i], p);
le...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Remove dependency on fmatch.h if it does not exit
...-by: Rink Springer <rink at rink.nu>
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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/usr/dash/expand.c b/usr/dash/expand.c
index e2d563fe..153f6b7a 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -45,7 +45,9 @@
#include <inttypes.h>
#include <limits.h>
#include <string.h>
+#ifdef HAVE_FNMATCH
#include <fnmatch.h>
+#endif
#ifdef HAVE_GLOB
#include <glob.h>
#endif
2020 Mar 28
0
[klibc:update-dash] dash: expand: 'nolog' and 'debug' options cause "$-" to wreak havoc
...such options. Patch below.
- Martijn
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/dash/expand.c b/usr/dash/expand.c
index 153f6b7a..e86bd29d 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -927,7 +927,7 @@ numvar:
case '-':
p = makestrspace(NOPTS, expdest);
for (i = NOPTS - 1; i >= 0; i--) {
- if (optlist[i]) {
+ if (optlist[i] && optletters[i]) {
USTPUTC(optletters[i], p);
le...