This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5306a04
)
Use cBOOL.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 7 Dec 2014 18:13:20 +0000
(13:13 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 7 Dec 2014 23:47:16 +0000
(18:47 -0500)
pad.c
patch
|
blob
|
blame
|
history
diff --git
a/pad.c
b/pad.c
index
9511c39
..
6122b27
100644
(file)
--- a/
pad.c
+++ b/
pad.c
@@
-2431,7
+2431,7
@@
Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
PERL_ARGS_ASSERT_PADLIST_DUP;
- cloneall =
param->flags & CLONEf_COPY_STACKS
;
+ cloneall =
cBOOL(param->flags & CLONEf_COPY_STACKS)
;
assert (SvREFCNT(PadlistARRAY(srcpad)[1]) == 1);
max = cloneall ? PadlistMAX(srcpad) : 1;