Revision: 797
http://vcs.pcre.org/viewvc?view=rev&revision=797
Author: ph10
Date: 2011-12-11 17:09:37 +0000 (Sun, 11 Dec 2011)
Log Message:
-----------
Source tidies for 8.21
Modified Paths:
--------------
code/trunk/ChangeLog
code/trunk/NEWS
code/trunk/configure.ac
code/trunk/maint/ManyConfigTests
code/trunk/pcre_study.c
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2011-12-10 10:08:40 UTC (rev 796)
+++ code/trunk/ChangeLog 2011-12-11 17:09:37 UTC (rev 797)
@@ -1,7 +1,7 @@
ChangeLog for PCRE
------------------
-Version 8.21 05-Dec-2011
+Version 8.21 12-Dec-2011
------------------------
1. Updating the JIT compiler.
@@ -103,14 +103,14 @@
25. The CheckMan script was not being included in the distribution. Also, added
an explicit "perl" to run Perl scripts from the PrepareRelease script
because this is reportedly needed in Windows.
-
+
26. If study data was being save in a file and studying had not found a set of
- "starts with" bytes for the pattern, the data written to the file (though
+ "starts with" bytes for the pattern, the data written to the file (though
never used) was taken from uninitialized memory and so caused valgrind to
- complain.
-
-27. Updated RunTest.bat as provided by Sheri Pierce.
+ complain.
+27. Updated RunTest.bat as provided by Sheri Pierce.
+
28. Fixed a possible uninitialized memory bug in pcre_jit_compile.c.
29. Computation of memory usage for the table of capturing group names was
Modified: code/trunk/NEWS
===================================================================
--- code/trunk/NEWS 2011-12-10 10:08:40 UTC (rev 796)
+++ code/trunk/NEWS 2011-12-11 17:09:37 UTC (rev 797)
@@ -1,11 +1,11 @@
News about PCRE releases
------------------------
-Release 8.21 05-Dec-2011
+Release 8.21 12-Dec-2011
------------------------
-This is mostly a bug-fix release. The only new feature is the ability to obtain
-the memory used by the JIT compiler.
+This is almost entirely a bug-fix release. The only new feature is the ability
+to obtain the size of the memory used by the JIT compiler.
Release 8.20 21-Oct-2011
Modified: code/trunk/configure.ac
===================================================================
--- code/trunk/configure.ac 2011-12-10 10:08:40 UTC (rev 796)
+++ code/trunk/configure.ac 2011-12-11 17:09:37 UTC (rev 797)
@@ -10,8 +10,8 @@
m4_define(pcre_major, [8])
m4_define(pcre_minor, [21])
-m4_define(pcre_prerelease, [-RC1])
-m4_define(pcre_date, [2011-12-05])
+m4_define(pcre_prerelease, [])
+m4_define(pcre_date, [2011-12-12])
# Libtool shared library interface versions (current:revision:age)
m4_define(libpcre_version, [0:1:0])
Modified: code/trunk/maint/ManyConfigTests
===================================================================
--- code/trunk/maint/ManyConfigTests 2011-12-10 10:08:40 UTC (rev 796)
+++ code/trunk/maint/ManyConfigTests 2011-12-11 17:09:37 UTC (rev 797)
@@ -141,6 +141,10 @@
# builds both) to save a bit of time by building only one version of the
# library for the subsequent tests.
+valgrind=
+cvalgrind=
+withvalgrind=
+
echo "Tests in the current directory"
srcdir=.
for opts in \
@@ -179,10 +183,13 @@
runtest
done
+valgrind=
+cvalgrind=
+withvalgrind=
+
# Clean up the distribution and then do at least one build and test in a
# directory other than the source directory. It doesn't work unless the
-# source directory is cleaned up first - and anyway, it's best to leave it
-# in a clean state after all this reconfiguring.
+# source directory is cleaned up first.
if [ -f Makefile ]; then
echo "Running 'make distclean'"
Modified: code/trunk/pcre_study.c
===================================================================
--- code/trunk/pcre_study.c 2011-12-10 10:08:40 UTC (rev 796)
+++ code/trunk/pcre_study.c 2011-12-11 17:09:37 UTC (rev 797)
@@ -1321,12 +1321,12 @@
study->size = sizeof(pcre_study_data);
study->flags = 0;
-
+
/* Set the start bits always, to avoid unset memory errors if the
study data is written to a file, but set the flag only if any of the bits
- are set, to save time looking when none are. */
+ are set, to save time looking when none are. */
- if (bits_set)
+ if (bits_set)
{
study->flags |= PCRE_STUDY_MAPPED;
memcpy(study->start_bits, start_bits, sizeof(start_bits));