You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2016/09/07 16:50:36 UTC

[1/2] lucy-clownfish git commit: Update rat-excludes

Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 4230a73b4 -> 71759cfce


Update rat-excludes


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/1ba0f7e1
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/1ba0f7e1
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/1ba0f7e1

Branch: refs/heads/master
Commit: 1ba0f7e18b0ee0c000bb74634756e86c0dcd1dba
Parents: 4230a73
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Wed Sep 7 17:57:06 2016 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Wed Sep 7 17:57:06 2016 +0200

----------------------------------------------------------------------
 devel/conf/rat-excludes | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1ba0f7e1/devel/conf/rat-excludes
----------------------------------------------------------------------
diff --git a/devel/conf/rat-excludes b/devel/conf/rat-excludes
index ca84b92..b677b44 100644
--- a/devel/conf/rat-excludes
+++ b/devel/conf/rat-excludes
@@ -23,6 +23,9 @@ MANIFEST
 # doc file does not require license.
 CONTRIBUTING
 
+# INSTALL.skip does not require license.
+INSTALL\.SKIP
+
 # These files are autogenerated by running CFCLexHeader.l through Flex.
 # Flex's licensing explicitly disclaims copyright on generated lexers.
 CFCLexHeader\.h
@@ -40,6 +43,7 @@ CommonMark
 
 # Clownfish parcel files (.cfp) are in JSON format and cannot have comments.
 .*\.cfp
+parcel\.json
 
 # gitignore files should be ignored
 \.gitignore


[2/2] lucy-clownfish git commit: Fix croak_sv usage

Posted by nw...@apache.org.
Fix croak_sv usage

croak_sv is only available since Perl 5.14.

Also switch to FREEMEM to avoid crash under ActivePerl.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/71759cfc
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/71759cfc
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/71759cfc

Branch: refs/heads/master
Commit: 71759cfcef5e10c92f309efbaa5a3cc40c29696e
Parents: 1ba0f7e
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Wed Sep 7 18:01:09 2016 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Wed Sep 7 18:43:18 2016 +0200

----------------------------------------------------------------------
 compiler/src/CFCUtil.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/71759cfc/compiler/src/CFCUtil.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCUtil.c b/compiler/src/CFCUtil.c
index 6c0f224..ebd70ff 100644
--- a/compiler/src/CFCUtil.c
+++ b/compiler/src/CFCUtil.c
@@ -713,9 +713,9 @@ CFCUtil_rethrow(char *error) {
         longjmp(*current_env, 1);
     }
     else {
-        SV *error_sv = newSVpv(error, 0);
-        free(error);
-        croak_sv(sv_2mortal(error_sv));
+        sv_setpv(ERRSV, error);
+        FREEMEM(error);
+        croak(NULL);
     }
 }