summaryrefslogtreecommitdiff
path: root/pcretest.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-05-28 09:13:59 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-05-28 09:13:59 +0000
commit000f53cf12bbfb4f658d2417a96e03cb3c0b97cc (patch)
tree1915f0bf6bb5594e34e6d8ef95ff8dd3dcd6b6b2 /pcretest.c
parentf4176cfb682170c5e9246949df653c82200d7259 (diff)
downloadpcre-000f53cf12bbfb4f658d2417a96e03cb3c0b97cc.tar.gz
Final source file tidies for 8.33 release.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1335 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcretest.c')
-rw-r--r--pcretest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcretest.c b/pcretest.c
index 20dc0f1..57ee041 100644
--- a/pcretest.c
+++ b/pcretest.c
@@ -4412,7 +4412,7 @@ while (!done)
#ifndef NOUTF
/* Check that the data is well-formed UTF-8 if we're in UTF mode. To create
invalid input to pcre_exec, you must use \x?? or \x{} sequences. */
-
+
if (use_utf)
{
pcre_uint8 *q;
@@ -4430,7 +4430,7 @@ while (!done)
#ifdef SUPPORT_VALGRIND
/* Mark the dbuffer as addressable but undefined again. */
-
+
if (dbuffer != NULL)
{
VALGRIND_MAKE_MEM_UNDEFINED(dbuffer, dbuffer_size * CHAR_SIZE);
@@ -4439,7 +4439,7 @@ while (!done)
/* Allocate a buffer to hold the data line; len+1 is an upper bound on
the number of pcre_uchar units that will be needed. */
-
+
while (dbuffer == NULL || (size_t)len >= dbuffer_size)
{
dbuffer_size *= 2;