diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-05 23:12:15 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-05 23:12:15 +0200 |
commit | bd43c6784fb53826806c7cb51a1ed54e95eb4be9 (patch) | |
tree | 8b250b2eaa4781af90a4c4b6702903b11cdf7f24 /shell/ash.c | |
parent | 4142f0187dcf8454e8d2a8d16b321dbd573c170e (diff) | |
download | busybox-w32-bd43c6784fb53826806c7cb51a1ed54e95eb4be9.tar.gz busybox-w32-bd43c6784fb53826806c7cb51a1ed54e95eb4be9.tar.bz2 busybox-w32-bd43c6784fb53826806c7cb51a1ed54e95eb4be9.zip |
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.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) | |||
7613 | static int | 7613 | static int |
7614 | patmatch(char *pattern, const char *string) | 7614 | patmatch(char *pattern, const char *string) |
7615 | { | 7615 | { |
7616 | return pmatch(preglob(pattern, 0), string); | 7616 | char *p = preglob(pattern, 0); |
7617 | //bb_error_msg("fnmatch(pattern:'%s',str:'%s')", p, string); | ||
7618 | return pmatch(p, string); | ||
7617 | } | 7619 | } |
7618 | 7620 | ||
7619 | /* | 7621 | /* |