From a9acbe6caddc59e7e25f4e469322e5c210e17775 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 24 Nov 2008 13:25:20 +0000 Subject: timeout: new applet. 370 bytes. by Roberto Foglietta. --- findutils/grep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'findutils') 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, ':'); } -- cgit v1.2.3