This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct the return type for B::MAGIC::MOREMAGIC.
authorNicholas Clark <nick@ccl4.org>
Mon, 1 Nov 2010 17:16:29 +0000 (17:16 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 1 Nov 2010 17:16:29 +0000 (17:16 +0000)
commit227aaa42ba4aa82332777bb2eee8d1fc74aba92e
tree3ffcfbbda67ef1859761ed2b213fb473db9f7c7e
parent7a2c16aa3f95e6a8316b1dd3d0213f7ab9310458
Correct the return type for B::MAGIC::MOREMAGIC.

b2adfa9b5e1682df accidentally changed the return type from SV to B::SV.
Clearly there aren't enough tests.
However, the code prior to b2adfa9b5e1682df was buggy (now fixed) in that it
could put a NULL on the perl stack. The stack should only be valid SV pointers.
ext/B/B.xs