wrong test for magicalness
authorZefram <zefram@fysh.org>
Tue, 27 Aug 2013 14:57:35 +0000 (15:57 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 28 Feb 2015 14:17:19 +0000 (15:17 +0100)
commitad06a65004e9646ccce249df1783cc23f441f946
treec1cde66a242dac8d62ad70d81d4c6c591f5e6093
parent4bdb47818f5506d0df7b2d0e8830d69d99189848
wrong test for magicalness

Devel::Size looks at the SvMAGIC pointer for any SV that's SVt_PVMG or above.
This is incorrect.  It is actually necessary (and sufficient) to check the
SvMAGICAL flag.  Attached patch fixes.
Size.xs