summaryrefslogtreecommitdiff
path: root/pcre_try_flipped.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-09-26 19:12:32 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-09-26 19:12:32 +0000
commit5c3493df2827cb70ddc42899df2f9ee30f5e7a7b (patch)
tree94e6f1bf0230945da14fd4fe3408292572d90749 /pcre_try_flipped.c
parent13ec83b84a6939e47ebabc1836caec7d94836896 (diff)
downloadpcre-5c3493df2827cb70ddc42899df2f9ee30f5e7a7b.tar.gz
Added lower bound length-finding to pcre_study() and use it when matching; make
the value available via pcre_fullinfo(); also fixed bugs connected with pcre_study() in pcre_dfa_exec(). git-svn-id: svn://vcs.exim.org/pcre/code/trunk@455 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_try_flipped.c')
-rw-r--r--pcre_try_flipped.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pcre_try_flipped.c b/pcre_try_flipped.c
index 0d2f3a2..49887a5 100644
--- a/pcre_try_flipped.c
+++ b/pcre_try_flipped.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2008 University of Cambridge
+ Copyright (c) 1997-2009 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -128,7 +128,9 @@ if (study != NULL)
{
*internal_study = *study; /* To copy other fields */
internal_study->size = byteflip(study->size, sizeof(study->size));
- internal_study->options = byteflip(study->options, sizeof(study->options));
+ internal_study->flags = byteflip(study->flags, sizeof(study->flags));
+ internal_study->minlength = byteflip(study->minlength,
+ sizeof(study->minlength));
}
return internal_re;