| 1 |
ChangeLog for PCRE |
ChangeLog for PCRE |
| 2 |
------------------ |
------------------ |
| 3 |
|
|
| 4 |
|
Version 4.2 14-Apr-03 |
| 5 |
|
--------------------- |
| 6 |
|
|
| 7 |
|
1. Typo "#if SUPPORT_UTF8" instead of "#ifdef SUPPORT_UTF8" fixed. |
| 8 |
|
|
| 9 |
|
2. Changes to the building process, supplied by Ronald Landheer-Cieslak |
| 10 |
|
[ON_WINDOWS]: new variable, "#" on non-Windows platforms |
| 11 |
|
[NOT_ON_WINDOWS]: new variable, "#" on Windows platforms |
| 12 |
|
[WIN_PREFIX]: new variable, "cyg" for Cygwin |
| 13 |
|
* Makefile.in: use autoconf substitution for OBJEXT, EXEEXT, BUILD_OBJEXT |
| 14 |
|
and BUILD_EXEEXT |
| 15 |
|
Note: automatic setting of the BUILD variables is not yet working |
| 16 |
|
set CPPFLAGS and BUILD_CPPFLAGS (but don't use yet) - should be used at |
| 17 |
|
compile-time but not at link-time |
| 18 |
|
[LINK]: use for linking executables only |
| 19 |
|
make different versions for Windows and non-Windows |
| 20 |
|
[LINKLIB]: new variable, copy of UNIX-style LINK, used for linking |
| 21 |
|
libraries |
| 22 |
|
[LINK_FOR_BUILD]: new variable |
| 23 |
|
[OBJEXT]: use throughout |
| 24 |
|
[EXEEXT]: use throughout |
| 25 |
|
<winshared>: new target |
| 26 |
|
<wininstall>: new target |
| 27 |
|
<dftables.o>: use native compiler |
| 28 |
|
<dftables>: use native linker |
| 29 |
|
<install>: handle Windows platform correctly |
| 30 |
|
<clean>: ditto |
| 31 |
|
<check>: ditto |
| 32 |
|
copy DLL to top builddir before testing |
| 33 |
|
|
| 34 |
|
As part of these changes, -no-undefined was removed again. This was reported |
| 35 |
|
to give trouble on HP-UX 11.0, so getting rid of it seems like a good idea |
| 36 |
|
in any case. |
| 37 |
|
|
| 38 |
|
3. Some tidies to get rid of compiler warnings: |
| 39 |
|
|
| 40 |
|
. In the match_data structure, match_limit was an unsigned long int, whereas |
| 41 |
|
match_call_count was an int. I've made them both unsigned long ints. |
| 42 |
|
|
| 43 |
|
. In pcretest the fact that a const uschar * doesn't automatically cast to |
| 44 |
|
a void * provoked a warning. |
| 45 |
|
|
| 46 |
|
. Turning on some more compiler warnings threw up some "shadow" variables |
| 47 |
|
and a few more missing casts. |
| 48 |
|
|
| 49 |
|
4. If PCRE was complied with UTF-8 support, but called without the PCRE_UTF8 |
| 50 |
|
option, a class that contained a single character with a value between 128 |
| 51 |
|
and 255 (e.g. /[\xFF]/) caused PCRE to crash. |
| 52 |
|
|
| 53 |
|
5. If PCRE was compiled with UTF-8 support, but called without the PCRE_UTF8 |
| 54 |
|
option, a class that contained several characters, but with at least one |
| 55 |
|
whose value was between 128 and 255 caused PCRE to crash. |
| 56 |
|
|
| 57 |
|
|
| 58 |
Version 4.1 12-Mar-03 |
Version 4.1 12-Mar-03 |
| 59 |
--------------------- |
--------------------- |
| 60 |
|
|