/[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 518 by ph10, Tue May 18 15:47:01 2010 UTC revision 530 by ph10, Tue Jun 1 13:42:06 2010 UTC
# Line 221  uschar *here = start; Line 221  uschar *here = start;
221    
222  for (;;)  for (;;)
223    {    {
224    int rlen = buffer_size - (here - buffer);    int rlen = (int)(buffer_size - (here - buffer));
225    
226    if (rlen > 1000)    if (rlen > 1000)
227      {      {
# Line 1163  while (!done) Line 1163  while (!done)
1163      }      }
1164    
1165    pp = p;    pp = p;
1166    poffset = p - buffer;    poffset = (int)(p - buffer);
1167    
1168    for(;;)    for(;;)
1169      {      {
# Line 2080  while (!done) Line 2080  while (!done)
2080        *q++ = c;        *q++ = c;
2081        }        }
2082      *q = 0;      *q = 0;
2083      len = q - dbuffer;      len = (int)(q - dbuffer);
2084    
2085      /* Move the data to the end of the buffer so that a read over the end of      /* Move the data to the end of the buffer so that a read over the end of
2086      the buffer will be seen by valgrind, even if it doesn't cause a crash. If      the buffer will be seen by valgrind, even if it doesn't cause a crash. If

Legend:
Removed from v.518  
changed lines
  Added in v.530

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12