X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/aa41d2de89da4bf43d52fd12a191742ff9b668a0..47db112512e23853b60b6ecea208056818e10907:/src/src/pcre/pcre_maketables.c diff --git a/src/src/pcre/pcre_maketables.c b/src/src/pcre/pcre_maketables.c index 3f6ec8415..563f8745c 100644 --- a/src/src/pcre/pcre_maketables.c +++ b/src/src/pcre/pcre_maketables.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/pcre/pcre_maketables.c,v 1.3 2006/11/07 16:50:36 ph10 Exp $ */ +/* $Cambridge: exim/src/src/pcre/pcre_maketables.c,v 1.6 2007/11/12 13:02:20 nm4 Exp $ */ /************************************************* * Perl-Compatible Regular Expressions * @@ -8,7 +8,7 @@ and semantics are as close as possible to those of the Perl 5 language. Written by Philip Hazel - Copyright (c) 1997-2006 University of Cambridge + Copyright (c) 1997-2007 University of Cambridge ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -47,7 +47,10 @@ compilation of dftables.c, in which case the macro DFTABLES is defined. */ #ifndef DFTABLES -#include "pcre_internal.h" +# ifdef HAVE_CONFIG_H +# include "config.h" +# endif +# include "pcre_internal.h" #endif @@ -132,7 +135,7 @@ for (i = 0; i < 256; i++) meta-character, which in this sense is any character that terminates a run of data characters. */ - if (strchr("*+?{^.$|()[", i) != 0) x += ctype_meta; + if (strchr("\\*+?{^.$|()[", i) != 0) x += ctype_meta; *p++ = x; }