OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ut_pcre.c versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ut_pcre.c 1.3 -> 1.4

--- l2_ut_pcre.c 2001/10/06 14:30:42     1.3
+++ l2_ut_pcre.c 2001/11/24 08:13:25     1.4
@@ -6,7 +6,7 @@
  *  DO NOT EDIT THIS FILE, IT WAS AUTOMATICALLY GENERATED!
  *
  *  This is an automatically generated, extremely stripped down
- *  version of the PCRE 3.5 library from the Philip Hazel.
+ *  version of the PCRE 3.7 library from the Philip Hazel.
  *  This version is still distributed under the same original PCRE
  *  Open Source license, but Philip Hazel is no longer responsible
  *  for this version.
@@ -3753,7 +3753,7 @@
 
                 rc = match_block.offset_overflow ? 0 : match_block.end_offset_top / 2;
 
-                if (match_block.offset_end < 2)
+                if (offsetcount < 2)
                         rc = 0;
                 else {
                         offsets[0] = start_match - match_block.start_subject;

CVSTrac 2.0.1