/[pcre]/code/trunk/pcretest.c
ViewVC logotype

Diff of /code/trunk/pcretest.c

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

revision 360 by ph10, Wed Jul 9 11:03:07 2008 UTC revision 361 by ph10, Thu Jul 10 16:03:28 2008 UTC
# Line 2027  while (!done) Line 2027  while (!done)
2027        }        }
2028      *q = 0;      *q = 0;
2029      len = q - dbuffer;      len = q - dbuffer;
2030    
2031        /* Move the data to the end of the buffer so that a read over the end of
2032        the buffer will be seen by valgrind, even if it doesn't cause a crash. */
2033    
2034        memmove(bptr + buffer_size - len, bptr, len);
2035        bptr += buffer_size - len;
2036    
2037      if ((all_use_dfa || use_dfa) && find_match_limit)      if ((all_use_dfa || use_dfa) && find_match_limit)
2038        {        {

Legend:
Removed from v.360  
changed lines
  Added in v.361

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12