Contents of /code/trunk/ChangeLog

This is a second preliminary update, after having done a test build and also a
check of the maintenance programs. The version is now 7.1-RC1. In autogen.sh,
autoheader is now before automake, and Tech.Notes (being now in the "maintain"
directory) are no longer distributed.

1

ChangeLog for PCRE

2

------------------

3

4

Version 7.1 05-Mar-07

5

---------------------

6

7

1. Applied Bob Rossi and Daniel G's patches to convert the build system to one

8

that is more "standard", making use of automake and other autotools.

9

10

11

Version 7.0 19-Dec-06

12

---------------------

13

14

1. Fixed a signed/unsigned compiler warning in pcre_compile.c, shown up by

15

moving to gcc 4.1.1.

16

17

2. The -S option for pcretest uses setrlimit(); I had omitted to #include

18

sys/time.h, which is documented as needed for this function. It doesn't

19

seem to matter on Linux, but it showed up on some releases of OS X.

20

21

3. It seems that there are systems where bytes whose values are greater than

22

127 match isprint() in the "C" locale. The "C" locale should be the

23

default when a C program starts up. In most systems, only ASCII printing

24

characters match isprint(). This difference caused the output from pcretest

25

to vary, making some of the tests fail. I have changed pcretest so that:

26

27

(a) When it is outputting text in the compiled version of a pattern, bytes

28

other than 32-126 are always shown as hex escapes.

29

30

(b) When it is outputting text that is a matched part of a subject string,

31

it does the same, unless a different locale has been set for the match

32

(using the /L modifier). In this case, it uses isprint() to decide.

33

34

4. Fixed a major bug that caused incorrect computation of the amount of memory

35

required for a compiled pattern when options that changed within the

36

pattern affected the logic of the preliminary scan that determines the

37

length. The relevant options are -x, and -i in UTF-8 mode. The result was

38

that the computed length was too small. The symptoms of this bug were

39

either the PCRE error "internal error: code overflow" from pcre_compile(),

40

or a glibc crash with a message such as "pcretest: free(): invalid next