/[grep]/grep/src/search.c
ViewVC logotype

Diff of /grep/src/search.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.31 by kasal, Thu Dec 16 08:19:29 2004 UTC revision 1.32 by kasal, Thu Feb 24 09:50:19 2005 UTC
# Line 768  Pexecute (char const *buf, size_t size, Line 768  Pexecute (char const *buf, size_t size,
768        char eol = eolbyte;        char eol = eolbyte;
769        if (!exact)        if (!exact)
770          {          {
771            end = memchr (end, eol, buflim - end);            if (!(end = memchr (end, eol, buflim - end)))
772            end++;              end = buflim;
773              else
774                end++;
775            while (buf < beg && beg[-1] != eol)            while (buf < beg && beg[-1] != eol)
776              --beg;              --beg;
777          }          }

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26