mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Nmap 3.999 truly just about ready now
This commit is contained in:
@@ -45,6 +45,15 @@ 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. */
|
||||
|
||||
#ifdef DEBUG
|
||||
#include "pcre_printint.src"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*************************************************
|
||||
* Code parameters and static tables *
|
||||
*************************************************/
|
||||
@@ -3839,7 +3848,7 @@ Returns: pointer to compiled data block, or NULL on error,
|
||||
with errorptr and erroroffset set
|
||||
*/
|
||||
|
||||
EXPORT pcre *
|
||||
PCRE_EXPORT pcre *
|
||||
pcre_compile(const char *pattern, int options, const char **errorptr,
|
||||
int *erroroffset, const unsigned char *tables)
|
||||
{
|
||||
@@ -3847,7 +3856,7 @@ return pcre_compile2(pattern, options, NULL, errorptr, erroroffset, tables);
|
||||
}
|
||||
|
||||
|
||||
EXPORT pcre *
|
||||
PCRE_EXPORT pcre *
|
||||
pcre_compile2(const char *pattern, int options, int *errorcodeptr,
|
||||
const char **errorptr, int *erroroffset, const unsigned char *tables)
|
||||
{
|
||||
@@ -5000,7 +5009,8 @@ if (reqbyte >= 0 &&
|
||||
re->options |= PCRE_REQCHSET;
|
||||
}
|
||||
|
||||
/* Print out the compiled data for debugging */
|
||||
/* Print out the compiled data if debugging is enabled. This is never the
|
||||
case when building a production library. */
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
@@ -5038,7 +5048,7 @@ if ((re->options & PCRE_REQCHSET) != 0)
|
||||
else printf("Req char = \\x%02x%s\n", ch, caseless);
|
||||
}
|
||||
|
||||
_pcre_printint(re, stdout);
|
||||
pcre_printint(re, stdout);
|
||||
|
||||
/* This check is done here in the debugging case so that the code that
|
||||
was compiled can be seen. */
|
||||
|
||||
Reference in New Issue
Block a user