projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecdc15d
)
Note to self, doing *src_ary++ in a macro that evaluates
author
Artur Bergman
<sky@nanisky.com>
Thu, 25 Oct 2001 10:17:26 +0000
(10:17 +0000)
committer
Artur Bergman
<sky@nanisky.com>
Thu, 25 Oct 2001 10:17:26 +0000
(10:17 +0000)
the value more than once is a good way to dump core.
p4raw-id: //depot/perl@12639
sharedsv.c
patch
|
blob
|
history
diff --git
a/sharedsv.c
b/sharedsv.c
index e91d7b97d91e8ecbf7c178b6aceb24187a9f83a1..ef5ebf0b6b24cb6e8d1a126679a55637973a43db 100644
(file)
--- a/
sharedsv.c
+++ b/
sharedsv.c
@@
-218,7
+218,8
@@
Perl_sharedsv_thrcnt_dec(pTHX_ shared_sv* ssv)
while (items-- > 0) {
if(SvTYPE(*src_ary))
- Perl_sharedsv_thrcnt_dec(aTHX_ INT2PTR(shared_sv *, SvIV(*src_ary++)));
+ Perl_sharedsv_thrcnt_dec(aTHX_ INT2PTR(shared_sv *, SvIV(*src_ary)));
+ src_ary++;
}
break;
}