--- code/trunk/ChangeLog 2007/03/09 12:23:37 115 +++ code/trunk/ChangeLog 2007/03/12 09:29:45 119 @@ -60,9 +60,16 @@ called when UTF-8 support is disabled. Otherwise there are problems with a shared library. -10. The emulated memmove() function in pcre_internal.h (provided for those - environments that have neither memmove() nor bcopy()) was defining its - arguments as char * instead of void *. +10. Fixed two bugs in the emulated memmove() function in pcre_internal.h: + + (a) It was defining its arguments as char * instead of void *. + + (b) It was assuming that all moves were upwards in memory; this was true + a long time ago when I wrote it, but is no longer the case. + + The emulated memove() is provided for those environments that have neither + memmove() nor bcopy(). I didn't think anyone used it these days, but that + is clearly not the case, as these two bugs were recently reported. 11. The script PrepareRelease is now distributed: it calls 132html, CleanTxt, and Detrail to create the HTML documentation, the .txt form of the man @@ -87,7 +94,28 @@ matching a wide character, but failed, corruption could cause an erroneous result when trying to check for a repeat of the original character. + +13. Some tidying changes to the testing mechanism: + (a) The RunTest script now detects the internal link size and whether there + is UTF-8 and UCP support by running ./pcretest -C instead of relying on + values substituted by "configure". (The RunGrepTest script already did + this for UTF-8.) The configure.ac script no longer substitutes the + relevant variables. + + (b) The debugging options /B and /D in pcretest show the compiled bytecode + with length and offset values. This means that the output is different + for different internal link sizes. Test 2 is skipped for link sizes + other than 2 because of this, bypassing the problem. Unfortunately, + there was also a test in test 3 (the locale tests) that used /B and + failed for link sizes other than 2. Rather than cut the whole test out, + I have added a new /Z option to pcretest that replaces the length and + offset values with spaces. This is now used to make test 3 independent + of link size. + +14. If erroroffset was passed as NULL to pcre_compile, it provoked a + segmentation fault instead of giving the appropriate error message. + Version 7.0 19-Dec-06 ---------------------