hush: fix quoted_punct.tests failure

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-07-05 23:12:15 +02:00
parent 4142f0187d
commit bd43c6784f
4 changed files with 83 additions and 3 deletions

@@ -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);
}
/*