diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-24 13:25:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-24 13:25:20 +0000 |
commit | a9acbe6caddc59e7e25f4e469322e5c210e17775 (patch) | |
tree | 4e11174d18e586c5f7510adf31323f9dd98d7446 /findutils | |
parent | 00d8417631b1ae378d708e885dce74bafb02be96 (diff) | |
download | busybox-a9acbe6caddc59e7e25f4e469322e5c210e17775.tar.gz |
timeout: new applet. 370 bytes. by Roberto Foglietta.
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/grep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index 73e74f4b3..6a6ddb679 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -374,11 +374,11 @@ static int grep_file(FILE *file) break; #else if (re_search(&gl->compiled_regex, line, line_len, - gl->matched_range.rm_eo, line_len - gl->matched_range.rm_eo, + gl->matched_range.rm_eo, line_len - gl->matched_range.rm_eo, &gl->matched_range) < 0) break; #endif - } + } } else { print_line(line, line_len, linenum, ':'); } |