/[pcre]/code/branches/pcre16/pcre_try_flipped.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_try_flipped.c

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

code/trunk/pcre_try_flipped.c revision 455 by ph10, Sat Sep 26 19:12:32 2009 UTC code/branches/pcre16/pcre_try_flipped.c revision 764 by zherczeg, Wed Nov 23 17:23:20 2011 UTC
# Line 99  Returns:           the new block if is i Line 99  Returns:           the new block if is i
99  */  */
100    
101  real_pcre *  real_pcre *
102  _pcre_try_flipped(const real_pcre *re, real_pcre *internal_re,  PRIV(try_flipped)(const real_pcre *re, real_pcre *internal_re,
103    const pcre_study_data *study, pcre_study_data *internal_study)    const pcre_study_data *study, pcre_study_data *internal_study)
104  {  {
105  if (byteflip(re->magic_number, sizeof(re->magic_number)) != MAGIC_NUMBER)  if (byteflip(re->magic_number, sizeof(re->magic_number)) != MAGIC_NUMBER)
# Line 129  if (study != NULL) Line 129  if (study != NULL)
129    *internal_study = *study;   /* To copy other fields */    *internal_study = *study;   /* To copy other fields */
130    internal_study->size = byteflip(study->size, sizeof(study->size));    internal_study->size = byteflip(study->size, sizeof(study->size));
131    internal_study->flags = byteflip(study->flags, sizeof(study->flags));    internal_study->flags = byteflip(study->flags, sizeof(study->flags));
132    internal_study->minlength = byteflip(study->minlength,    internal_study->minlength = byteflip(study->minlength,
133      sizeof(study->minlength));      sizeof(study->minlength));
134    }    }
135    

Legend:
Removed from v.455  
changed lines
  Added in v.764

  ViewVC Help
Powered by ViewVC 1.1.5