[Pkg-ocaml-maint-commits] [pcre-ocaml] 05/18: Imported Upstream version 7.1.4

Stéphane Glondu glondu at moszumanska.debian.org
Wed Aug 3 11:58:36 UTC 2016


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

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

commit 63b860932513149260a717218c53b17e7246874f
Author: Stephane Glondu <steph at glondu.net>
Date:   Wed Aug 3 13:44:38 2016 +0200

    Imported Upstream version 7.1.4
---
 CHANGES.txt | 2 ++
 _oasis      | 2 +-
 lib/META    | 4 ++--
 lib/pcre.ml | 3 ++-
 setup.ml    | 6 +++---
 5 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 7e6efaa..6ddfb1a 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,5 @@
+2014-12-10:  Fixed another limit handling bug in the full_split function.
+
 2014-12-02:  Fixed a limit handling bug in the full_split function.
 
              Thanks to Rudi Grinberg <rudi.grinberg at gmail.com> for the report!
diff --git a/_oasis b/_oasis
index 7298173..ab343c2 100644
--- a/_oasis
+++ b/_oasis
@@ -1,6 +1,6 @@
 OASISFormat:      0.4
 Name:             pcre-ocaml
-Version:          7.1.3
+Version:          7.1.4
 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.mottl at gmail.com>
diff --git a/lib/META b/lib/META
index 92d5552..56edd82 100644
--- a/lib/META
+++ b/lib/META
@@ -1,6 +1,6 @@
 # OASIS_START
-# DO NOT EDIT (digest: 59b2a55440f8d979082e531fcc6a6623)
-version = "7.1.3"
+# DO NOT EDIT (digest: e4ec56fb86e658e1f25dbadd4203f03b)
+version = "7.1.4"
 description =
 "pcre-ocaml - bindings to the Perl Compatibility Regular Expressions library"
 requires = "bytes"
diff --git a/lib/pcre.ml b/lib/pcre.ml
index 143d7a7..07f162d 100644
--- a/lib/pcre.ml
+++ b/lib/pcre.ml
@@ -1030,7 +1030,8 @@ let full_split ?(iflags = 0) ?flags ?(rex = def_rex) ?pat
                 Text (string_unsafe_sub subj pos (first - pos)) :: strs in
               loop
                 (handle_subgroups (delim :: pre_strs)) (cnt - 1) last false in
-    List.rev (strip_all_empty_full (loop [] (max - 1) pos true))
+    let res = loop [] (max - 1) pos true in
+    List.rev (if max = 0 then strip_all_empty_full res else res)
 
 
 (* Additional convenience functions useful in combination with this library *)
diff --git a/setup.ml b/setup.ml
index e91016b..d6c1c6a 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: 294a82317d4c55cce3f6c2ba6d1f39bd) *)
+(* DO NOT EDIT (digest: 9cdb96e64374c005343dc23e96f139aa) *)
 (*
    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-ocaml";
-          version = "7.1.3";
+          version = "7.1.4";
           license =
             OASISLicense.DEP5License
               (OASISLicense.DEP5Unit
@@ -6982,7 +6982,7 @@ let setup_t =
        };
      oasis_fn = Some "_oasis";
      oasis_version = "0.4.5";
-     oasis_digest = Some "��e�iA�\1546�\001�\007��6";
+     oasis_digest = Some "�����w.��3�Ѫ��";
      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



More information about the Pkg-ocaml-maint-commits mailing list