aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-15 15:27:41 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-15 15:27:41 +0200
commit4476c703015d026dfd8057a28010c33943aa2a9c (patch)
tree775ebe9ebf37329215c24fe57c25d72a348b7ffb /shell/ash.c
parent0485b677d2ccd8cd60579446cd1addcb4f322db3 (diff)
downloadbusybox-4476c703015d026dfd8057a28010c33943aa2a9c.tar.gz
ash,hush: comment and debug tweaks, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 224d77633..58999fac5 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7704,8 +7704,9 @@ static int
patmatch(char *pattern, const char *string)
{
char *p = preglob(pattern, 0);
- //bb_error_msg("fnmatch(pattern:'%s',str:'%s')", p, string);
- return pmatch(p, string);
+ int r = pmatch(p, string);
+ //bb_error_msg("!fnmatch(pattern:'%s',str:'%s',0):%d", p, string, r);
+ return r;
}
/*