/[pcre]/code/trunk/ChangeLog
ViewVC logotype

Diff of /code/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 45 by nigel, Sat Feb 24 21:39:25 2007 UTC revision 47 by nigel, Sat Feb 24 21:39:29 2007 UTC
# Line 2  ChangeLog for PCRE Line 2  ChangeLog for PCRE
2  ------------------  ------------------
3    
4    
5    Version 3.2 12-May-00
6    ---------------------
7    
8    This is purely a bug fixing release.
9    
10    1. If the pattern /((Z)+|A)*/ was matched agained ZABCDEFG it matched Z instead
11    of ZA. This was just one example of several cases that could provoke this bug,
12    which was introduced by change 9 of version 2.00. The code for breaking
13    infinite loops after an iteration that matches an empty string was't working
14    correctly.
15    
16    2. The pcretest program was not imitating Perl correctly for the pattern /a*/g
17    when matched against abbab (for example). After matching an empty string, it
18    wasn't forcing anchoring when setting PCRE_NOTEMPTY for the next attempt; this
19    caused it to match further down the string than it should.
20    
21    3. The code contained an inclusion of sys/types.h. It isn't clear why this
22    was there because it doesn't seem to be needed, and it causes trouble on some
23    systems, as it is not a Standard C header. It has been removed.
24    
25    4. Made 4 silly changes to the source to avoid stupid compiler warnings that
26    were reported on the Macintosh. The changes were from
27    
28      while ((c = *(++ptr)) != 0 && c != '\n');
29    to
30      while ((c = *(++ptr)) != 0 && c != '\n') ;
31    
32    Totally extraordinary, but if that's what it takes...
33    
34    5. PCRE is being used in one environment where neither memmove() nor bcopy() is
35    available. Added HAVE_BCOPY and an autoconf test for it; if neither
36    HAVE_MEMMOVE nor HAVE_BCOPY is set, use a built-in emulation function which
37    assumes the way PCRE uses memmove() (always moving upwards).
38    
39    6. PCRE is being used in one environment where strchr() is not available. There
40    was only one use in pcre.c, and writing it out to avoid strchr() probably gives
41    faster code anyway.
42    
43    
44  Version 3.1 09-Feb-00  Version 3.1 09-Feb-00
45  ---------------------  ---------------------
46    

Legend:
Removed from v.45  
changed lines
  Added in v.47

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12