summaryrefslogtreecommitdiff
path: root/pcre_fullinfo.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-08-26 15:38:32 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-08-26 15:38:32 +0000
commit0b42edc4bcb87749033c28b0edcf1453f684a226 (patch)
tree12533d1ddd22a0eb5cd3fc6be3eba8bbf420f675 /pcre_fullinfo.c
parent84fde256e93d7a4a8d15ab452c64356a7f246b86 (diff)
downloadpcre-0b42edc4bcb87749033c28b0edcf1453f684a226.tar.gz
Remove restrictions on pcre_exec() partial matching.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@426 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_fullinfo.c')
-rw-r--r--pcre_fullinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pcre_fullinfo.c b/pcre_fullinfo.c
index 3a343bd..af39c44 100644
--- a/pcre_fullinfo.c
+++ b/pcre_fullinfo.c
@@ -144,6 +144,9 @@ switch (what)
*((const uschar **)where) = (const uschar *)(_pcre_default_tables);
break;
+ /* From release 8.00 this will always return TRUE because NOPARTIAL is
+ no longer ever set (the restrictions have been removed). */
+
case PCRE_INFO_OKPARTIAL:
*((int *)where) = (re->flags & PCRE_NOPARTIAL) == 0;
break;