timeout: new applet. 370 bytes. by Roberto Foglietta.

This commit is contained in:
Denis Vlasenko
2008-11-24 13:25:20 +00:00
parent 00d8417631
commit a9acbe6cad
8 changed files with 247 additions and 4 deletions

View File

@@ -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, ':');
}