diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | dftables.c | 4 | ||||
-rw-r--r-- | pcre_chartables.c.dist | 2 | ||||
-rw-r--r-- | pcre_compile.c | 2 | ||||
-rw-r--r-- | pcre_config.c | 2 | ||||
-rw-r--r-- | pcre_dfa_exec.c | 2 | ||||
-rw-r--r-- | pcre_exec.c | 2 | ||||
-rw-r--r-- | pcre_fullinfo.c | 2 | ||||
-rw-r--r-- | pcre_get.c | 2 | ||||
-rw-r--r-- | pcre_globals.c | 2 | ||||
-rw-r--r-- | pcre_info.c | 2 | ||||
-rw-r--r-- | pcre_maketables.c | 2 | ||||
-rw-r--r-- | pcre_newline.c | 2 | ||||
-rw-r--r-- | pcre_ord2utf8.c | 2 | ||||
-rw-r--r-- | pcre_refcount.c | 2 | ||||
-rw-r--r-- | pcre_scanner.cc | 2 | ||||
-rw-r--r-- | pcre_scanner_unittest.cc | 8 | ||||
-rw-r--r-- | pcre_stringpiece.cc | 2 | ||||
-rw-r--r-- | pcre_stringpiece_unittest.cc | 6 | ||||
-rw-r--r-- | pcre_study.c | 2 | ||||
-rw-r--r-- | pcre_tables.c | 2 | ||||
-rw-r--r-- | pcre_try_flipped.c | 2 | ||||
-rw-r--r-- | pcre_ucp_searchfuncs.c | 2 | ||||
-rw-r--r-- | pcre_valid_utf8.c | 2 | ||||
-rw-r--r-- | pcre_version.c | 2 | ||||
-rw-r--r-- | pcre_xclass.c | 2 | ||||
-rw-r--r-- | pcrecpp.cc | 4 | ||||
-rw-r--r-- | pcrecpp_unittest.cc | 2 | ||||
-rw-r--r-- | pcregrep.c | 4 | ||||
-rw-r--r-- | pcreposix.c | 5 | ||||
-rw-r--r-- | pcretest.c | 2 |
31 files changed, 42 insertions, 40 deletions
@@ -34,6 +34,9 @@ Version 7.4 10-Sep-07 7. Added macro for snprintf to pcrecpp_unittest.cc and also for strtoll and strtoull to pcrecpp.cc to select the available functions in WIN32 (where different names are used). + +8. Changed all #include <config.h> to #include "config.h". There were also + some further <pcre.h> cases that I changed to "pcre.h". Version 7.3 28-Aug-07 @@ -44,7 +44,7 @@ locale. Now that pcre_maketables is a function visible to the outside world, we make use of its code from here in order to be consistent. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <ctype.h> @@ -110,7 +110,7 @@ fprintf(f, "outside this compilation unit might reference this\" and so it will always\n" "be supplied to the linker. */\n\n" "#ifdef HAVE_CONFIG_H\n" - "#include <config.h>\n" + "#include "config.h"\n" "#endif\n\n" "#include \"pcre_internal.h\"\n\n"); fprintf(f, diff --git a/pcre_chartables.c.dist b/pcre_chartables.c.dist index 3d6a4ff..ae45db0 100644 --- a/pcre_chartables.c.dist +++ b/pcre_chartables.c.dist @@ -21,7 +21,7 @@ header ensures that the array gets flagged as "someone outside this compilation unit might reference this" and so it will always be supplied to the linker. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_compile.c b/pcre_compile.c index da14310..15e06bc 100644 --- a/pcre_compile.c +++ b/pcre_compile.c @@ -43,7 +43,7 @@ supporting internal functions that are not used by other modules. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #define NLBLOCK cd /* Block containing newline information */ diff --git a/pcre_config.c b/pcre_config.c index 40532a5..220ef93 100644 --- a/pcre_config.c +++ b/pcre_config.c @@ -42,7 +42,7 @@ POSSIBILITY OF SUCH DAMAGE. #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c index b1d4c5e..aff03a1 100644 --- a/pcre_dfa_exec.c +++ b/pcre_dfa_exec.c @@ -45,7 +45,7 @@ applications. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #define NLBLOCK md /* Block containing newline information */ diff --git a/pcre_exec.c b/pcre_exec.c index 8fcb5c2..69eba63 100644 --- a/pcre_exec.c +++ b/pcre_exec.c @@ -43,7 +43,7 @@ pattern matching using an NFA algorithm, trying to mimic Perl as closely as possible. There are also some static supporting functions. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #define NLBLOCK md /* Block containing newline information */ diff --git a/pcre_fullinfo.c b/pcre_fullinfo.c index cb0993f..04e31f6 100644 --- a/pcre_fullinfo.c +++ b/pcre_fullinfo.c @@ -43,7 +43,7 @@ information about a compiled pattern. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" @@ -44,7 +44,7 @@ for these functions came from Scott Wimer. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_globals.c b/pcre_globals.c index 41b89dd..4794819 100644 --- a/pcre_globals.c +++ b/pcre_globals.c @@ -47,7 +47,7 @@ all threads. However, when compiling for Virtual Pascal, things are done differently, and global variables are not used (see pcre.in). */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_info.c b/pcre_info.c index 4f9c86c..9bcccbc 100644 --- a/pcre_info.c +++ b/pcre_info.c @@ -44,7 +44,7 @@ deprecated, as it has been superseded by pcre_fullinfo(). */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_maketables.c b/pcre_maketables.c index 1e6381a..352bea9 100644 --- a/pcre_maketables.c +++ b/pcre_maketables.c @@ -46,7 +46,7 @@ compilation of dftables.c, in which case the macro DFTABLES is defined. */ #ifndef DFTABLES # ifdef HAVE_CONFIG_H -# include <config.h> +# include "config.h" # endif # include "pcre_internal.h" #endif diff --git a/pcre_newline.c b/pcre_newline.c index db02a8c..1708d93 100644 --- a/pcre_newline.c +++ b/pcre_newline.c @@ -48,7 +48,7 @@ http://unicode.org/unicode/reports/tr18/. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_ord2utf8.c b/pcre_ord2utf8.c index 7552034..d3904c6 100644 --- a/pcre_ord2utf8.c +++ b/pcre_ord2utf8.c @@ -42,7 +42,7 @@ POSSIBILITY OF SUCH DAMAGE. character value into a UTF8 string. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_refcount.c b/pcre_refcount.c index b6a464c..b14103c 100644 --- a/pcre_refcount.c +++ b/pcre_refcount.c @@ -45,7 +45,7 @@ shared by different users. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_scanner.cc b/pcre_scanner.cc index 0ff7f7f..a817a68 100644 --- a/pcre_scanner.cc +++ b/pcre_scanner.cc @@ -30,7 +30,7 @@ // Author: Sanjay Ghemawat #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <vector> diff --git a/pcre_scanner_unittest.cc b/pcre_scanner_unittest.cc index 2f77d8a..866fac3 100644 --- a/pcre_scanner_unittest.cc +++ b/pcre_scanner_unittest.cc @@ -33,16 +33,16 @@ // functionality. #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <stdio.h> #include <string> #include <vector> -#include <pcrecpp.h> -#include <pcre_stringpiece.h> -#include <pcre_scanner.h> +#include "pcrecpp.h" +#include "pcre_stringpiece.h" +#include "pcre_scanner.h" #ifdef _WIN32 # define snprintf _snprintf diff --git a/pcre_stringpiece.cc b/pcre_stringpiece.cc index d79e1b1..67c0f1f 100644 --- a/pcre_stringpiece.cc +++ b/pcre_stringpiece.cc @@ -31,7 +31,7 @@ // #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <iostream> diff --git a/pcre_stringpiece_unittest.cc b/pcre_stringpiece_unittest.cc index c23c63d..1e821ab 100644 --- a/pcre_stringpiece_unittest.cc +++ b/pcre_stringpiece_unittest.cc @@ -2,15 +2,15 @@ // Author: Sanjay Ghemawat #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <stdio.h> #include <map> #include <algorithm> // for make_pair -#include <pcrecpp.h> -#include <pcre_stringpiece.h> +#include "pcrecpp.h" +#include "pcre_stringpiece.h" // CHECK dies with a fatal error if condition is not true. It is *not* // controlled by NDEBUG, so the check will be executed regardless of diff --git a/pcre_study.c b/pcre_study.c index eee324e..1c28384 100644 --- a/pcre_study.c +++ b/pcre_study.c @@ -43,7 +43,7 @@ supporting functions. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_tables.c b/pcre_tables.c index 7d79eff..0d060c2 100644 --- a/pcre_tables.c +++ b/pcre_tables.c @@ -45,7 +45,7 @@ clashes with the library. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_try_flipped.c b/pcre_try_flipped.c index df234bb..412902b 100644 --- a/pcre_try_flipped.c +++ b/pcre_try_flipped.c @@ -44,7 +44,7 @@ auxiliary local function to flip the appropriate bytes. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_ucp_searchfuncs.c b/pcre_ucp_searchfuncs.c index d3edc2d..316163e 100644 --- a/pcre_ucp_searchfuncs.c +++ b/pcre_ucp_searchfuncs.c @@ -42,7 +42,7 @@ POSSIBILITY OF SUCH DAMAGE. properties. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_valid_utf8.c b/pcre_valid_utf8.c index 0486ea3..1899142 100644 --- a/pcre_valid_utf8.c +++ b/pcre_valid_utf8.c @@ -43,7 +43,7 @@ strings. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_version.c b/pcre_version.c index e1ab4d4..425ab21 100644 --- a/pcre_version.c +++ b/pcre_version.c @@ -43,7 +43,7 @@ string that identifies the PCRE version that is in use. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" diff --git a/pcre_xclass.c b/pcre_xclass.c index 502e718..cdf1af1 100644 --- a/pcre_xclass.c +++ b/pcre_xclass.c @@ -44,7 +44,7 @@ pcre_exec() and pcre_def_exec(). */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "pcre_internal.h" @@ -30,7 +30,7 @@ // Author: Sanjay Ghemawat #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #ifdef _WIN32 @@ -49,7 +49,7 @@ #include <algorithm> #include "pcrecpp_internal.h" -#include <pcre.h> +#include "pcre.h" #include "pcrecpp.h" #include "pcre_stringpiece.h" diff --git a/pcrecpp_unittest.cc b/pcrecpp_unittest.cc index 4f399eb..784c3d1 100644 --- a/pcrecpp_unittest.cc +++ b/pcrecpp_unittest.cc @@ -34,7 +34,7 @@ // TODO: Test extractions for PartialMatch/Consume #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #ifdef _WIN32 @@ -38,7 +38,7 @@ POSSIBILITY OF SUCH DAMAGE. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <ctype.h> @@ -55,7 +55,7 @@ POSSIBILITY OF SUCH DAMAGE. #include <unistd.h> #endif -#include <pcre.h> +#include "pcre.h" #define FALSE 0 #define TRUE 1 diff --git a/pcreposix.c b/pcreposix.c index 83263de..0f73774 100644 --- a/pcreposix.c +++ b/pcreposix.c @@ -43,7 +43,7 @@ functions. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif @@ -57,12 +57,11 @@ previously been set. */ # define PCREPOSIX_EXP_DEFN __declspec(dllexport) #endif -#include <pcre.h> +#include "pcre.h" #include "pcre_internal.h" #include "pcreposix.h" - /* Table to translate PCRE compile time error codes into POSIX error codes. */ static const int eint[] = { @@ -37,7 +37,7 @@ POSSIBILITY OF SUCH DAMAGE. #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <ctype.h> |