[exim-cvs] cvs commit: exim/exim-doc/doc-txt pcrepattern.txt…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] cvs commit: exim/exim-doc/doc-txt pcrepattern.txt pcretest.txt exim/exim-src/src/pcre ChangeLog dftables.c pcre.h pcre_compile.c pcre_config.c pcre_exec.c pcre_fullinfo.c pcre_get.c pcr
ph10 2005/08/08 11:22:14 BST

  Modified files:
    exim-doc/doc-txt     pcrepattern.txt pcretest.txt 
    exim-src/src/pcre    ChangeLog dftables.c pcre.h 
                         pcre_compile.c pcre_config.c pcre_exec.c 
                         pcre_fullinfo.c pcre_get.c pcre_globals.c 
                         pcre_internal.h pcre_maketables.c 
                         pcre_printint.c pcre_study.c 
                         pcre_tables.c pcre_try_flipped.c 
                         pcre_version.c pcretest.c ucp.h 
  Log:
  Install PCRE 6.2.


  Revision  Changes    Path
  1.3       +2 -1      exim/exim-doc/doc-txt/pcrepattern.txt
  1.3       +1 -1      exim/exim-doc/doc-txt/pcretest.txt
  1.3       +63 -0     exim/exim-src/src/pcre/ChangeLog
  1.3       +1 -1      exim/exim-src/src/pcre/dftables.c
  1.3       +2 -4      exim/exim-src/src/pcre/pcre.h
  1.2       +51 -17    exim/exim-src/src/pcre/pcre_compile.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_config.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_exec.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_fullinfo.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_get.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_globals.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_internal.h
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_maketables.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_printint.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_study.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_tables.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_try_flipped.c
  1.2       +0 -0      exim/exim-src/src/pcre/pcre_version.c
  1.3       +4 -4      exim/exim-src/src/pcre/pcretest.c
  1.2       +0 -0      exim/exim-src/src/pcre/ucp.h


  Index: pcrepattern.txt
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/pcrepattern.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pcrepattern.txt    15 Jun 2005 08:57:10 -0000    1.2
  +++ pcrepattern.txt    8 Aug 2005 10:22:14 -0000    1.3
  @@ -1,11 +1,12 @@
   This file contains the PCRE man page that describes the regular expressions
  -supported by PCRE version 6.0. Note that not all of the features are relevant
  +supported by PCRE version 6.2. Note that not all of the features are relevant
   in the context of Exim. In particular, the version of PCRE that is compiled
   with Exim does not include UTF-8 support, there is no mechanism for changing
   the options with which the PCRE functions are called, and features such as
   callout are not accessible.
   -----------------------------------------------------------------------------


  +PCREPATTERN(3)                                                  PCREPATTERN(3)



NAME

  Index: pcretest.txt
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/pcretest.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pcretest.txt    15 Jun 2005 08:57:10 -0000    1.2
  +++ pcretest.txt    8 Aug 2005 10:22:14 -0000    1.3
  @@ -6,9 +6,9 @@
   PCRETEST(1)                                                        PCRETEST(1)



  -
   NAME
          pcretest - a program for testing Perl-compatible regular expressions.
  +


SYNOPSIS


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/ChangeLog,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ChangeLog    15 Jun 2005 08:57:10 -0000    1.2
  +++ ChangeLog    8 Aug 2005 10:22:14 -0000    1.3
  @@ -1,6 +1,69 @@
   ChangeLog for PCRE
   ------------------


  +Version 6.2 01-Aug-05
  +---------------------
  +
  + 1. There was no test for integer overflow of quantifier values. A construction
  +    such as {1111111111111111} would give undefined results. What is worse, if
  +    a minimum quantifier for a parenthesized subpattern overflowed and became
  +    negative, the calculation of the memory size went wrong. This could have
  +    led to memory overwriting.
  +
  + 2. Building PCRE using VPATH was broken. Hopefully it is now fixed.
  +
  + 3. Added "b" to the 2nd argument of fopen() in dftables.c, for non-Unix-like
  +    operating environments where this matters.
  +
  + 4. Applied Giuseppe Maxia's patch to add additional features for controlling
  +    PCRE options from within the C++ wrapper.
  +
  + 5. Named capturing subpatterns were not being correctly counted when a pattern
  +    was compiled. This caused two problems: (a) If there were more than 100
  +    such subpatterns, the calculation of the memory needed for the whole
  +    compiled pattern went wrong, leading to an overflow error. (b) Numerical
  +    back references of the form \12, where the number was greater than 9, were
  +    not recognized as back references, even though there were sufficient
  +    previous subpatterns.
  +
  + 6. Two minor patches to pcrecpp.cc in order to allow it to compile on older
  +    versions of gcc, e.g. 2.95.4.
  +
  +
  +Version 6.1 21-Jun-05
  +---------------------
  +
  + 1. There was one reference to the variable "posix" in pcretest.c that was not
  +    surrounded by "#if !defined NOPOSIX".
  +
  + 2. Make it possible to compile pcretest without DFA support, UTF8 support, or
  +    the cross-check on the old pcre_info() function, for the benefit of the
  +    cut-down version of PCRE that is currently imported into Exim.
  +
  + 3. A (silly) pattern starting with (?i)(?-i) caused an internal space
  +    allocation error. I've done the easy fix, which wastes 2 bytes for sensible
  +    patterns that start (?i) but I don't think that matters. The use of (?i) is
  +    just an example; this all applies to the other options as well.
  +
  + 4. Since libtool seems to echo the compile commands it is issuing, the output
  +    from "make" can be reduced a bit by putting "@" in front of each libtool
  +    compile command.
  +
  + 5. Patch from the folks at Google for configure.in to be a bit more thorough
  +    in checking for a suitable C++ installation before trying to compile the
  +    C++ stuff. This should fix a reported problem when a compiler was present,
  +    but no suitable headers.
  +
  + 6. The man pages all had just "PCRE" as their title. I have changed them to
  +    be the relevant file name. I have also arranged that these names are
  +    retained in the file doc/pcre.txt, which is a concatenation in text format
  +    of all the man pages except the little individual ones for each function.
  +
  + 7. The NON-UNIX-USE file had not been updated for the different set of source
  +    files that come with release 6. I also added a few comments about the C++
  +    wrapper.
  +
  +
   Version 6.0 07-Jun-05
   ---------------------



  Index: dftables.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/dftables.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- dftables.c    15 Jun 2005 08:57:10 -0000    1.2
  +++ dftables.c    8 Aug 2005 10:22:14 -0000    1.3
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/dftables.c,v 1.2 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/dftables.c,v 1.3 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *
  @@ -68,7 +68,7 @@
     return 1;
     }


  -f = fopen(argv[1], "w");
  +f = fopen(argv[1], "wb");
   if (f == NULL)
     {
     fprintf(stderr, "dftables: failed to open %s for writing\n", argv[1]);


  Index: pcre.h
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pcre.h    15 Jun 2005 08:57:10 -0000    1.2
  +++ pcre.h    8 Aug 2005 10:22:14 -0000    1.3
  @@ -1,5 +1,3 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre.h,v 1.2 2005/06/15 08:57:10 ph10 Exp $ */
  -
   /*************************************************
   *       Perl-Compatible Regular Expressions      *
   *************************************************/
  @@ -45,8 +43,8 @@
   make changes to pcre.in. */


   #define PCRE_MAJOR          6
  -#define PCRE_MINOR          0
  -#define PCRE_DATE           07-Jun-2005
  +#define PCRE_MINOR          2
  +#define PCRE_DATE           01-Aug-2005


/* Win32 uses DLL by default; it needs special stuff for exported functions. */


  Index: pcre_compile.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_compile.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_compile.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_compile.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_compile.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_compile.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *
  @@ -700,7 +700,18 @@
   int min = 0;
   int max = -1;


+/* Read the minimum value and do a paranoid check: a negative value indicates
+an integer overflow. */
+
while ((digitab[*p] & ctype_digit) != 0) min = min * 10 + *p++ - '0';
+if (min < 0 || min > 65535)
+ {
+ *errorcodeptr = ERR5;
+ return p;
+ }
+
+/* Read the maximum value if there is one, and again do a paranoid on its size.
+Also, max must not be less than min. */

   if (*p == '}') max = min; else
     {
  @@ -708,6 +719,11 @@
       {
       max = 0;
       while((digitab[*p] & ctype_digit) != 0) max = max * 10 + *p++ - '0';
  +    if (max < 0 || max > 65535)
  +      {
  +      *errorcodeptr = ERR5;
  +      return p;
  +      }
       if (max < min)
         {
         *errorcodeptr = ERR4;
  @@ -716,16 +732,11 @@
       }
     }


-/* Do paranoid checks, then fill in the required variables, and pass back the
-pointer to the terminating '}'. */
+/* Fill in the required variables, and pass back the pointer to the terminating
+'}'. */

-if (min > 65535 || max > 65535)
- *errorcodeptr = ERR5;
-else
- {
- *minp = min;
- *maxp = max;
- }
+*minp = min;
+*maxp = max;
return p;
}

  @@ -3858,6 +3869,7 @@
   BOOL class_utf8;
   #endif
   BOOL inescq = FALSE;
  +BOOL capturing;
   unsigned int brastackptr = 0;
   size_t size;
   uschar *code;
  @@ -4412,6 +4424,7 @@
       case '(':
       branch_newextra = 0;
       bracket_length = 1 + LINK_SIZE;
  +    capturing = FALSE;


       /* Handle special forms of bracket, which all start (? */


@@ -4499,6 +4512,9 @@

           case 'P':
           ptr += 3;
  +
  +        /* Handle the definition of a named subpattern */
  +
           if (*ptr == '<')
             {
             const uschar *p;    /* Don't amalgamate; some compilers */
  @@ -4511,9 +4527,12 @@
               }
             name_count++;
             if (ptr - p > max_name_size) max_name_size = (ptr - p);
  +          capturing = TRUE;   /* Named parentheses are always capturing */
             break;
             }


  +        /* Handle back references and recursive calls to named subpatterns */
  +
           if (*ptr == '=' || *ptr == '>')
             {
             while ((compile_block.ctypes[*(++ptr)] & ctype_word) != 0);
  @@ -4627,6 +4646,14 @@
               nothing is done here and it is handled during the compiling
               process.


  +            We allow for more than one options setting at the start. If such
  +            settings do not change the existing options, nothing is compiled.
  +            However, we must leave space just in case something is compiled.
  +            This can happen for pathological sequences such as (?i)(?-i)
  +            because the global options will end up with -i set. The space is
  +            small and not significant. (Before I did this there was a reported
  +            bug with (?i)(?-i) in a machine-generated pattern.)
  +
               [Historical note: Up to Perl 5.8, options settings at top level
               were always global settings, wherever they appeared in the pattern.
               That is, they were equivalent to an external setting. From 5.8
  @@ -4639,6 +4666,7 @@
                 options = (options | set) & (~unset);
                 set = unset = 0;     /* To save length */
                 item_count--;        /* To allow for several */
  +              length += 2;
                 }


               /* Fall through */
  @@ -4688,18 +4716,24 @@
             continue;
             }


  -        /* If options were terminated by ':' control comes here. Fall through
  -        to handle the group below. */
  +        /* If options were terminated by ':' control comes here. This is a
  +        non-capturing group with an options change. There is nothing more that
  +        needs to be done because "capturing" is already set FALSE by default;
  +        we can just fall through. */
  +
           }
         }


  -    /* Extracting brackets must be counted so we can process escapes in a
  -    Perlish way. If the number exceeds EXTRACT_BASIC_MAX we are going to
  -    need an additional 3 bytes of store per extracting bracket. However, if
  -    PCRE_NO_AUTO)CAPTURE is set, unadorned brackets become non-capturing, so we
  -    must leave the count alone (it will aways be zero). */
  +    /* Ordinary parentheses, not followed by '?', are capturing unless
  +    PCRE_NO_AUTO_CAPTURE is set. */
  +
  +    else capturing = (options & PCRE_NO_AUTO_CAPTURE) == 0;
  +
  +    /* Capturing brackets must be counted so we can process escapes in a
  +    Perlish way. If the number exceeds EXTRACT_BASIC_MAX we are going to need
  +    an additional 3 bytes of memory per capturing bracket. */


  -    else if ((options & PCRE_NO_AUTO_CAPTURE) == 0)
  +    if (capturing)
         {
         bracount++;
         if (bracount > EXTRACT_BASIC_MAX) bracket_length += 3;


  Index: pcre_config.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_config.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_config.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_config.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_config.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_config.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_exec.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_exec.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_exec.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_exec.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_exec.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_exec.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_fullinfo.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_fullinfo.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_fullinfo.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_fullinfo.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_fullinfo.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_fullinfo.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_get.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_get.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_get.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_get.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_get.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_get.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_globals.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_globals.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_globals.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_globals.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_globals.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_globals.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_internal.h
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_internal.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_internal.h    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_internal.h    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_internal.h,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_internal.h,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_maketables.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_maketables.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_maketables.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_maketables.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_maketables.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_maketables.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_printint.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_printint.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_printint.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_printint.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_printint.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_printint.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_study.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_study.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_study.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_study.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_study.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_study.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_tables.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_tables.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_tables.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_tables.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_tables.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_tables.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_try_flipped.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_try_flipped.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_try_flipped.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_try_flipped.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_try_flipped.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_try_flipped.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcre_version.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcre_version.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcre_version.c    15 Jun 2005 08:57:10 -0000    1.1
  +++ pcre_version.c    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcre_version.c,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcre_version.c,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *      Perl-Compatible Regular Expressions       *


  Index: pcretest.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/pcretest.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pcretest.c    15 Jun 2005 08:57:10 -0000    1.2
  +++ pcretest.c    8 Aug 2005 10:22:14 -0000    1.3
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/pcretest.c,v 1.2 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/pcretest.c,v 1.3 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *             PCRE testing program               *
  @@ -64,8 +64,8 @@
   #include "pcreposix.h"
   #endif


-/* It is also possible, for the benefit of the version imported into Exim, to
-build pcretest without support for UTF8 (define NOUTF8), without the interface
+/* It is also possible, for the benefit of the version imported into Exim, to
+build pcretest without support for UTF8 (define NOUTF8), without the interface
to the DFA matcher (NODFA), and without the doublecheck of the old "info"
function (define NOINFOCHECK). */

@@ -205,7 +205,7 @@

   while (length-- > 0)
     {
  -#if !defined NOUTF8   
  +#if !defined NOUTF8
     if (use_utf8)
       {
       int rc = utf82ord(p, &c);
  @@ -478,7 +478,7 @@
     else if (strcmp(argv[op], "-t") == 0) timeit = 1;
     else if (strcmp(argv[op], "-i") == 0) showinfo = 1;
     else if (strcmp(argv[op], "-d") == 0) showinfo = debug = 1;
  -#if !defined NODFA   
  +#if !defined NODFA
     else if (strcmp(argv[op], "-dfa") == 0) all_use_dfa = 1;
   #endif
     else if (strcmp(argv[op], "-o") == 0 && argc > 2 &&


  Index: ucp.h
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pcre/ucp.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ucp.h    15 Jun 2005 08:57:10 -0000    1.1
  +++ ucp.h    8 Aug 2005 10:22:14 -0000    1.2
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/pcre/ucp.h,v 1.1 2005/06/15 08:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/pcre/ucp.h,v 1.2 2005/08/08 10:22:14 ph10 Exp $ */


   /*************************************************
   *     libucp - Unicode Property Table handler    *