Created
February 2, 2016 20:04
-
-
Save arodland/833693a99c22db1ec868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ListUtil.xs b/ListUtil.xs | |
index a7cd20c..46f8d4d 100644 | |
--- a/ListUtil.xs | |
+++ b/ListUtil.xs | |
@@ -383,6 +383,7 @@ CODE: | |
PUSH_MULTICALL(cv); | |
for(index = 1 ; index < items ; index++) { | |
+ SvTEMP_off(args[index]); | |
GvSV(PL_defgv) = args[index]; | |
MULTICALL; | |
if(SvTRUEx(*PL_stack_sp)) { | |
@@ -406,6 +407,7 @@ CODE: | |
{ | |
for(index = 1 ; index < items ; index++) { | |
dSP; | |
+ SvTEMP_off(args[index]); | |
GvSV(PL_defgv) = args[index]; | |
PUSHMARK(SP); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment