From bd43c6784fb53826806c7cb51a1ed54e95eb4be9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 5 Jul 2017 23:12:15 +0200 Subject: hush: fix quoted_punct.tests failure Signed-off-by: Denys Vlasenko --- shell/ash.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/ash.c') diff --git a/shell/ash.c b/shell/ash.c index 946e8726e..b7635a823 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -7613,7 +7613,9 @@ expandhere(union node *arg, int fd) static int patmatch(char *pattern, const char *string) { - return pmatch(preglob(pattern, 0), string); + char *p = preglob(pattern, 0); + //bb_error_msg("fnmatch(pattern:'%s',str:'%s')", p, string); + return pmatch(p, string); } /* -- cgit v1.2.3