/[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 258 by ph10, Wed Sep 19 08:50:04 2007 UTC revision 259 by ph10, Wed Sep 19 09:52:44 2007 UTC
# Line 1352  while (!done) Line 1352  while (!done)
1352      if (do_flip)      if (do_flip)
1353        {        {
1354        real_pcre *rre = (real_pcre *)re;        real_pcre *rre = (real_pcre *)re;
1355        rre->magic_number =        rre->magic_number =
1356          byteflip(rre->magic_number, sizeof(rre->magic_number));          byteflip(rre->magic_number, sizeof(rre->magic_number));
1357        rre->size = byteflip(rre->size, sizeof(rre->size));        rre->size = byteflip(rre->size, sizeof(rre->size));
1358        rre->options = byteflip(rre->options, sizeof(rre->options));        rre->options = byteflip(rre->options, sizeof(rre->options));
1359        rre->flags = (pcre_uint16)byteflip(rre->flags, sizeof(rre->flags));        rre->flags = (pcre_uint16)byteflip(rre->flags, sizeof(rre->flags));
1360        rre->top_bracket =        rre->top_bracket =
1361          (pcre_uint16)byteflip(rre->top_bracket, sizeof(rre->top_bracket));          (pcre_uint16)byteflip(rre->top_bracket, sizeof(rre->top_bracket));
1362        rre->top_backref =        rre->top_backref =
1363          (pcre_uint16)byteflip(rre->top_backref, sizeof(rre->top_backref));          (pcre_uint16)byteflip(rre->top_backref, sizeof(rre->top_backref));
1364        rre->first_byte =        rre->first_byte =
1365          (pcre_uint16)byteflip(rre->first_byte, sizeof(rre->first_byte));          (pcre_uint16)byteflip(rre->first_byte, sizeof(rre->first_byte));
1366        rre->req_byte =        rre->req_byte =
1367          (pcre_uint16)byteflip(rre->req_byte, sizeof(rre->req_byte));          (pcre_uint16)byteflip(rre->req_byte, sizeof(rre->req_byte));
1368        rre->name_table_offset = (pcre_uint16)byteflip(rre->name_table_offset,        rre->name_table_offset = (pcre_uint16)byteflip(rre->name_table_offset,
1369          sizeof(rre->name_table_offset));          sizeof(rre->name_table_offset));
1370        rre->name_entry_size = (pcre_uint16)byteflip(rre->name_entry_size,        rre->name_entry_size = (pcre_uint16)byteflip(rre->name_entry_size,
1371          sizeof(rre->name_entry_size));          sizeof(rre->name_entry_size));
1372        rre->name_count = (pcre_uint16)byteflip(rre->name_count,        rre->name_count = (pcre_uint16)byteflip(rre->name_count,
1373          sizeof(rre->name_count));          sizeof(rre->name_count));
1374    
1375        if (extra != NULL)        if (extra != NULL)
# Line 1606  while (!done) Line 1606  while (!done)
1606          sbuf[1] = (uschar)((true_size >> 16) & 255);          sbuf[1] = (uschar)((true_size >> 16) & 255);
1607          sbuf[2] = (uschar)((true_size >>  8) & 255);          sbuf[2] = (uschar)((true_size >>  8) & 255);
1608          sbuf[3] = (uschar)((true_size) & 255);          sbuf[3] = (uschar)((true_size) & 255);
1609    
1610          sbuf[4] = (uschar)((true_study_size >> 24) & 255);          sbuf[4] = (uschar)((true_study_size >> 24) & 255);
1611          sbuf[5] = (uschar)((true_study_size >> 16) & 255);          sbuf[5] = (uschar)((true_study_size >> 16) & 255);
1612          sbuf[6] = (uschar)((true_study_size >>  8) & 255);          sbuf[6] = (uschar)((true_study_size >>  8) & 255);

Legend:
Removed from v.258  
changed lines
  Added in v.259

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12