Skip to content

Commit

Permalink
Upgrade PCRE to 8.39 and YAJL to 2.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoldrobbins committed Jul 31, 2016
1 parent 1c4412d commit 0839e92
Show file tree
Hide file tree
Showing 144 changed files with 23,488 additions and 15,637 deletions.
8 changes: 1 addition & 7 deletions include/audit_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ class Audit_json_formatter: public Audit_formatter {
m_password_mask_regex_compiled(false),
m_perform_password_masking(NULL)
{
config.beautify = 0;
config.indentString = NULL;

}

virtual ~Audit_json_formatter()
Expand Down Expand Up @@ -405,11 +404,6 @@ class Audit_json_formatter: public Audit_formatter {
*/
char *m_msg_delimiter;

/**
* Configuration of yajl. Leave public so sysvar can update this directly.
*/
yajl_gen_config config;

protected:

Audit_json_formatter& operator =(const Audit_json_formatter& b);
Expand Down
2 changes: 1 addition & 1 deletion pcre/132html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ while (<STDIN>)
printf("<li><a name=\"TOC%d\" href=\"#SEC%d\">$title</a>\n",
$ref, $ref);
printf TEMP ("<br><a name=\"SEC%d\" href=\"#TOC1\">$title</a><br>\n",
$ref, $ref);
$ref);
$ref++;
}
else
Expand Down
6 changes: 3 additions & 3 deletions pcre/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Email domain: cam.ac.uk
University of Cambridge Computing Service,
Cambridge, England.

Copyright (c) 1997-2014 University of Cambridge
Copyright (c) 1997-2016 University of Cambridge
All rights reserved


Expand All @@ -19,7 +19,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Emain domain: freemail.hu

Copyright(c) 2010-2014 Zoltan Herczeg
Copyright(c) 2010-2016 Zoltan Herczeg
All rights reserved.


Expand All @@ -30,7 +30,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Emain domain: freemail.hu

Copyright(c) 2009-2014 Zoltan Herczeg
Copyright(c) 2009-2016 Zoltan Herczeg
All rights reserved.


Expand Down
19 changes: 18 additions & 1 deletion pcre/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,15 @@
# so it has been removed.
# 2013-10-08 PH got rid of the "source" command, which is a bash-ism (use ".")
# 2013-11-05 PH added support for PARENS_NEST_LIMIT
# 2016-03-01 PH applied Chris Wilson's patch for MSVC static build

PROJECT(PCRE C CXX)

# Increased minimum to 2.8.0 to support newer add_test features
# Increased minimum to 2.8.0 to support newer add_test features. Set policy
# CMP0026 to avoid warnings for the use of LOCATION in GET_TARGET_PROPERTY.

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0)
CMAKE_POLICY(SET CMP0026 OLD)

SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) # for FindReadline.cmake

Expand Down Expand Up @@ -567,6 +570,20 @@ SET(PCREPOSIX_SOURCES
ENDIF (EXISTS ${PROJECT_SOURCE_DIR}/pcreposix.rc)
ENDIF(MSVC AND NOT PCRE_STATIC)

# Fix static compilation with MSVC: https://bugs.exim.org/show_bug.cgi?id=1681
# This code was taken from the CMake wiki, not from WebM.

IF(MSVC AND PCRE_STATIC)
MESSAGE(STATUS "** MSVC and PCRE_STATIC: modifying compiler flags to use static runtime library")
foreach(flag_var
CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
endforeach()
ENDIF(MSVC AND PCRE_STATIC)

SET(PCRECPP_HEADERS
pcrecpp.h
pcre_scanner.h
Expand Down
Loading

0 comments on commit 0839e92

Please sign in to comment.