Package: libdevel-size-perl / 0.79-2

Metadata

Package Version Patches format
libdevel-size-perl 0.79-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
perl5.20 magic_read_shrink.patch | (download)

t/magic.t | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 one of devel-size's tests, for a tied scalar visibly growing
 when the underlying tie object grows, is failing on Perl 5.19.3 because an
 earlier read of the scalar clears its PV buffer, causing the scalar to
 shrink. Attached patch makes the test allow for such shrinkage.
perl5.20 sv_magical.patch | (download)

Size.xs | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 *** fixme ***
perl5.20 ook.patch | (download)

t/basic.t | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 mark a test as todo
 ntyni: "I've filed [perl #122322] about OOK (Offset OK) not triggering
 anymore in such cases; it changed with the enabling of COW (Copy on Write)
 for 5.19.1.
 .
 The problem isn't about Devel-Size counting the size of an SV wrong when
 OOK is used, but rather the fact that OOK doesn't get used anymore.
 .
 (See the 'Offsets' section in perlguts for information about OOK.)"