/[pkgs]/devel/grep/grep-bz460641.patch
ViewVC logotype

Contents of /devel/grep/grep-bz460641.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Jan 8 09:16:42 2009 UTC (10 months, 2 weeks ago) by kasal
Branch: MAIN
CVS Tags: F-12-split, F-11-split, grep-2_5_3-5_fc12, grep-2_5_3-3_fc11, grep-2_5_3-2_fc11, grep-2_5_3-6_fc12, grep-2_5_3-4_fc11, HEAD
File MIME type: text/x-patch
bug #460641 (a.k.a. 479152)
1 diff -up grep-2.5.3/src/search.c.bz479152 grep-2.5.3/src/search.c
2 --- grep-2.5.3/src/search.c.bz479152 2009-01-08 09:57:12.000000000 +0100
3 +++ grep-2.5.3/src/search.c 2009-01-08 09:58:57.000000000 +0100
4 @@ -757,7 +757,7 @@ EXECUTE_FCT(Fexecute)
5 const char *last_char = NULL;
6 #endif /* MBS_SUPPORT */
7
8 - for (beg = start_ptr ? start_ptr : buf; beg <= buf + size; beg++)
9 + for (beg = start_ptr ? start_ptr : buf; beg < buf + size; beg++)
10 {
11 size_t offset = kwsexec (kwset, beg, buf + size - beg, &kwsmatch);
12 if (offset == (size_t) -1)

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2