diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-15 15:27:41 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-15 15:27:41 +0200 |
commit | 4476c703015d026dfd8057a28010c33943aa2a9c (patch) | |
tree | 775ebe9ebf37329215c24fe57c25d72a348b7ffb /shell/ash.c | |
parent | 0485b677d2ccd8cd60579446cd1addcb4f322db3 (diff) | |
download | busybox-w32-4476c703015d026dfd8057a28010c33943aa2a9c.tar.gz busybox-w32-4476c703015d026dfd8057a28010c33943aa2a9c.tar.bz2 busybox-w32-4476c703015d026dfd8057a28010c33943aa2a9c.zip |
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.c | 5 |
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 | |||
7704 | patmatch(char *pattern, const char *string) | 7704 | patmatch(char *pattern, const char *string) |
7705 | { | 7705 | { |
7706 | char *p = preglob(pattern, 0); | 7706 | char *p = preglob(pattern, 0); |
7707 | //bb_error_msg("fnmatch(pattern:'%s',str:'%s')", p, string); | 7707 | int r = pmatch(p, string); |
7708 | return pmatch(p, string); | 7708 | //bb_error_msg("!fnmatch(pattern:'%s',str:'%s',0):%d", p, string, r); |
7709 | return r; | ||
7709 | } | 7710 | } |
7710 | 7711 | ||
7711 | /* | 7712 | /* |