Skip Menu |
 

This queue is for tickets about the Linux-Smaps CPAN distribution.

Report information
The Basics
Id: 80161
Status: resolved
Priority: 0/
Queue: Linux-Smaps

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Fix for 5.17.2
Download (untitled) / with headers
text/plain 342b
5.17.2 now optimises "a" x 1000 to a constant at compile time when possible. This causes one test to fail, since it expects the repetition operator to increase memory usage significantly. The attached patch I believe will fix it, but I have no way of testing this myself. See also <https://rt.perl.org/rt3/Ticket/Display.html?id=114424>.
Subject: open_vpsyVWhK.txt
Download open_vpsyVWhK.txt
text/plain 476b
diff -rup Linux-Smaps-0.09-eJpiev-orig/t/02.t Linux-Smaps-0.09-eJpiev/t/02.t --- Linux-Smaps-0.09-eJpiev-orig/t/02.t 2011-04-01 06:36:43.000000000 -0700 +++ Linux-Smaps-0.09-eJpiev/t/02.t 2012-09-19 06:14:07.000000000 -0700 @@ -36,7 +36,8 @@ ok @$newlist==0 && @$difflist==0 && @$ol my $dirty=$s->private_dirty; { no warnings qw{void}; - "a"x(1024*1024); + my $a = "a"; + $a x(1024*1024); } $s->update; print "# dirty grows from $dirty to ".$s->private_dirty."\n";
Probably fixed in 0.10


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.