mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
dont print pcre intensive debug messages, even in our debug builds (you can still enable it by defining PCRE_DEBUG on the project.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6161 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -46,10 +46,10 @@ supporting internal functions that are not used by other modules. */
|
||||
#include "pcre_internal.h"
|
||||
|
||||
|
||||
/* When DEBUG is defined, we need the pcre_printint() function, which is also
|
||||
used by pcretest. DEBUG is not defined when building a production library. */
|
||||
/* When PCRE_DEBUG is defined, we need the pcre_printint() function, which is also
|
||||
used by pcretest. PCRE_DEBUG is not defined when building a production library. */
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef PCRE_DEBUG
|
||||
#include "pcre_printint.src"
|
||||
#endif
|
||||
|
||||
@@ -5154,7 +5154,7 @@ if debugging, leave the test till after things are printed out. */
|
||||
|
||||
*code++ = OP_END;
|
||||
|
||||
#ifndef DEBUG
|
||||
#ifndef PCRE_DEBUG
|
||||
if (code - codestart > length) errorcode = ERR23;
|
||||
#endif
|
||||
|
||||
@@ -5223,7 +5223,7 @@ if (reqbyte >= 0 &&
|
||||
/* Print out the compiled data if debugging is enabled. This is never the
|
||||
case when building a production library. */
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef PCRE_DEBUG
|
||||
|
||||
printf("Length = %d top_bracket = %d top_backref = %d\n",
|
||||
length, re->top_bracket, re->top_backref);
|
||||
|
Reference in New Issue
Block a user