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

Diff of /code/trunk/pcre_study.c

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

revision 796 by ph10, Tue Dec 6 15:37:24 2011 UTC revision 797 by ph10, Sun Dec 11 17:09:37 2011 UTC
# Line 1321  if (bits_set || min > 0 Line 1321  if (bits_set || min > 0
1321    
1322    study->size = sizeof(pcre_study_data);    study->size = sizeof(pcre_study_data);
1323    study->flags = 0;    study->flags = 0;
1324    
1325    /* Set the start bits always, to avoid unset memory errors if the    /* Set the start bits always, to avoid unset memory errors if the
1326    study data is written to a file, but set the flag only if any of the bits    study data is written to a file, but set the flag only if any of the bits
1327    are set, to save time looking when none are. */    are set, to save time looking when none are. */
1328    
1329    if (bits_set)    if (bits_set)
1330      {      {
1331      study->flags |= PCRE_STUDY_MAPPED;      study->flags |= PCRE_STUDY_MAPPED;
1332      memcpy(study->start_bits, start_bits, sizeof(start_bits));      memcpy(study->start_bits, start_bits, sizeof(start_bits));

Legend:
Removed from v.796  
changed lines
  Added in v.797

  ViewVC Help
Powered by ViewVC 1.1.5