search for: e2d563f

Displaying 4 results from an estimated 4 matches for "e2d563f".

Did you mean: e2d563fe
2019 Jan 25
0
[klibc:update-dash] expand - Fix dangling left square brackets in patterns
...lt;olof at ethup.se> 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/dash/expand.c b/usr/dash/expand.c index 9079b74b..e2d563fe 100644 --- a/usr/dash/expand.c +++ b/usr/dash/expand.c @@ -1584,14 +1584,14 @@ pmatch(const char *pattern, const char *string) p++; } found = 0; - chr = *q++; + chr = *q; if (chr == '\0') return 0; c = *p++; do { if (!c) { p = startp; - c =...
2019 Jan 25
0
[klibc:update-dash] expand: Remove dependency on fmatch.h if it does not exit
...Signed-off-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 - Fix dangling left square brackets in patterns
...lt;olof at ethup.se> 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/dash/expand.c b/usr/dash/expand.c index 9079b74b..e2d563fe 100644 --- a/usr/dash/expand.c +++ b/usr/dash/expand.c @@ -1584,14 +1584,14 @@ pmatch(const char *pattern, const char *string) p++; } found = 0; - chr = *q++; + chr = *q; if (chr == '\0') return 0; c = *p++; do { if (!c) { p = startp; - c =...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Remove dependency on fmatch.h if it does not exit
...Signed-off-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