diff options
author | Denys Vlasenko | 2018-03-02 20:48:36 +0100 |
---|---|---|
committer | Denys Vlasenko | 2018-03-02 20:48:36 +0100 |
commit | d4802c6243e64e28690577bc0bb4f030581c496b (patch) | |
tree | e1b3785c46bd4361419fb22718b319cf3a835658 /shell/match.c | |
parent | 55f8133a4fb207d6fecd02f43c36809d3c2f6672 (diff) | |
download | busybox-d4802c6243e64e28690577bc0bb4f030581c496b.zip busybox-d4802c6243e64e28690577bc0bb4f030581c496b.tar.gz |
hush: fix a='a\\'; echo "${a%\\\\}"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/match.c')
-rw-r--r-- | shell/match.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/match.c b/shell/match.c index 8f2a2fb..ee8abb2 100644 --- a/shell/match.c +++ b/shell/match.c @@ -75,7 +75,7 @@ char* FAST_FUNC scan_and_match(char *string, const char *pattern, unsigned flags *loc = c; } else { r = fnmatch(pattern, loc, 0); - //bb_error_msg("fnmatch('%s','%s',0):%d", pattern, string, r); + //bb_error_msg("fnmatch('%s','%s',0):%d", pattern, loc, r); } if (r == 0) /* match found */ return loc; |