This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository pcre-ocaml.

commit 166590b6e3bce860c34c46dffb00907e5f3b36d5
Author: Stephane Glondu <st...@glondu.net>
Date:   Wed Aug 3 13:44:44 2016 +0200

    Imported Upstream version 7.2.2
---
 CHANGES.txt      | 2 ++
 _oasis           | 2 +-
 lib/META         | 4 ++--
 lib/pcre_stubs.c | 2 +-
 setup.ml         | 6 +++---
 5 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index baf93e4..f4f4f20 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,7 @@
 2016-02-23:  Fixed linking problem with old versions of PCRE (< 8.20).
 
+             Fixed backward compatibility issue with OCaml <= 3.12.
+
 2016-02-22:  Fixed a subgroup matching bug.
 
              Thanks to Cheng Lou for the bug report!
diff --git a/_oasis b/_oasis
index 7888da6..fb69cb4 100644
--- a/_oasis
+++ b/_oasis
@@ -1,6 +1,6 @@
 OASISFormat:      0.4
 Name:             pcre
-Version:          7.2.1
+Version:          7.2.2
 Synopsis:         pcre-ocaml - bindings to the Perl Compatibility Regular 
Expressions library
 Description:      pcre-ocaml offers library functions for string pattern 
matching and substitution, similar to the functionality offered by the Perl 
language.
 Authors:          Markus Mottl <markus.mo...@gmail.com>
diff --git a/lib/META b/lib/META
index ea9bdb5..4b6f9a7 100644
--- a/lib/META
+++ b/lib/META
@@ -1,6 +1,6 @@
 # OASIS_START
-# DO NOT EDIT (digest: f00cd2da6b8e481dd3713e7a8f1c4b71)
-version = "7.2.1"
+# DO NOT EDIT (digest: 4e0b6deea390af304684cc7986d12440)
+version = "7.2.2"
 description =
 "pcre-ocaml - bindings to the Perl Compatibility Regular Expressions library"
 requires = "bytes"
diff --git a/lib/pcre_stubs.c b/lib/pcre_stubs.c
index 225113d..ff0775e 100644
--- a/lib/pcre_stubs.c
+++ b/lib/pcre_stubs.c
@@ -527,7 +527,7 @@ CAMLprim value pcre_exec_stub(value v_opt, value v_rex, 
value v_pos,
     pos = Long_val(v_pos),
     len = caml_string_length(v_subj),
     subj_start = Long_val(v_subj_start);
-  long ovec_len = caml_array_length(v_ovec);
+  long ovec_len = Wosize_val(v_ovec);
 
   if (pos > len || pos < subj_start)
     caml_invalid_argument("Pcre.pcre_exec_stub: illegal position");
diff --git a/setup.ml b/setup.ml
index 8d329a1..45f5235 100644
--- a/setup.ml
+++ b/setup.ml
@@ -1,7 +1,7 @@
 (* setup.ml generated for the first time by OASIS v0.3.0 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 93051cc4261da4a968322a5c488fc0e8) *)
+(* DO NOT EDIT (digest: ac9bfdf81b51ef959bf1488a96bd692f) *)
 (*
    Regenerated by OASIS v0.4.5
    Visit http://oasis.forge.ocamlcore.org for more information and
@@ -6683,7 +6683,7 @@ let setup_t =
           alpha_features = [];
           beta_features = [];
           name = "pcre";
-          version = "7.2.1";
+          version = "7.2.2";
           license =
             OASISLicense.DEP5License
               (OASISLicense.DEP5Unit
@@ -6983,7 +6983,7 @@ let setup_t =
        };
      oasis_fn = Some "_oasis";
      oasis_version = "0.4.5";
-     oasis_digest = Some "_\141i��\017u��M��~\024}k";
+     oasis_digest = Some "��\0176�\020A�0YQ\142\022}\021\148";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-ocaml-maint/packages/pcre-ocaml.git

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to