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

Diff of /code/trunk/pcre_exec.c

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

revision 895 by ph10, Fri Jan 20 12:12:03 2012 UTC revision 901 by ph10, Sat Jan 21 15:47:59 2012 UTC
# Line 619  eptrblock newptrb; Line 619  eptrblock newptrb;
619  /* There is a special fudge for calling match() in a way that causes it to  /* There is a special fudge for calling match() in a way that causes it to
620  measure the size of its basic stack frame when the stack is being used for  measure the size of its basic stack frame when the stack is being used for
621  recursion. The second argument (ecode) being NULL triggers this behaviour. It  recursion. The second argument (ecode) being NULL triggers this behaviour. It
622  cannot normally every be NULL. The return is the negated value of the frame  cannot normally ever be NULL. The return is the negated value of the frame
623  size. */  size. */
624    
625  if (ecode == NULL)  if (ecode == NULL)
# Line 6210  const REAL_PCRE *re = (const REAL_PCRE * Line 6210  const REAL_PCRE *re = (const REAL_PCRE *
6210  /* Check for the special magic call that measures the size of the stack used  /* Check for the special magic call that measures the size of the stack used
6211  per recursive call of match(). */  per recursive call of match(). */
6212    
6213  if (re == NULL && extra_data == NULL && subject == NULL && length == -1)  if (re == NULL && extra_data == NULL && subject == NULL && length == -999 &&
6214        start_offset == -999)
6215  #ifdef NO_RECURSE  #ifdef NO_RECURSE
6216    return -sizeof(heapframe);    return -sizeof(heapframe);
6217  #else  #else

Legend:
Removed from v.895  
changed lines
  Added in v.901

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12