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

Diff of /code/trunk/pcre_compile.c

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

revision 1602 by ph10, Tue Oct 27 16:35:12 2015 UTC revision 1603 by ph10, Wed Oct 28 09:43:06 2015 UTC
# Line 6613  for (;; ptr++) Line 6613  for (;; ptr++)
6613                goto FAILED;                goto FAILED;
6614                }                }
6615              setverb = *code++ = verbs[i].op_arg;              setverb = *code++ = verbs[i].op_arg;
6616              *code++ = arglen;              if (lengthptr != NULL)    /* In pass 1 just add in the length */
6617              memcpy(code, arg, IN_UCHARS(arglen));                {                       /* to avoid potential workspace */
6618              code += arglen;                *lengthptr += arglen;   /* overflow. */
6619                  *code++ = 0;
6620                  }
6621                else
6622                  {
6623                  *code++ = arglen;
6624                  memcpy(code, arg, IN_UCHARS(arglen));
6625                  code += arglen;
6626                  }
6627              *code++ = 0;              *code++ = 0;
6628              }              }
6629    

Legend:
Removed from v.1602  
changed lines
  Added in v.1603

  ViewVC Help
Powered by ViewVC 1.1.5