summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-05 23:12:15 +0200
committerDenys Vlasenko2017-07-05 23:12:15 +0200
commitbd43c6784fb53826806c7cb51a1ed54e95eb4be9 (patch)
tree8b250b2eaa4781af90a4c4b6702903b11cdf7f24 /shell/ash.c
parent4142f0187dcf8454e8d2a8d16b321dbd573c170e (diff)
downloadbusybox-bd43c6784fb53826806c7cb51a1ed54e95eb4be9.zip
busybox-bd43c6784fb53826806c7cb51a1ed54e95eb4be9.tar.gz
hush: fix quoted_punct.tests failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 946e872..b7635a8 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);
}
/*