Subject: | infinite loop |
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ........................... ok
Use of uninitialized value $anew in exists at /usr/src/RPM/BUILD/App-perlmv-0.48/blib/lib/App/perlmv.pm line 451.
Use of uninitialized value $anew in hash element at /usr/src/RPM/BUILD/App-perlmv-0.48/blib/lib/App/perlmv.pm line 460.
Use of uninitialized value $anew in exists at /usr/src/RPM/BUILD/App-perlmv-0.48/blib/lib/App/perlmv.pm line 451.
Use of uninitialized value $anew in exists at /usr/src/RPM/BUILD/App-perlmv-0.48/blib/lib/App/perlmv.pm line 451.
[...]
--- App-perlmv-0.48/lib/App/perlmv.pm 2015-01-07 08:39:29.000000000 +0000
+++ App-perlmv-0.48/lib/App/perlmv.pm 2015-11-14 21:55:54.814803550 +0000
@@ -448,7 +448,7 @@
unless ($self->{'overwrite'}) {
my $i = 1;
while (1) {
- if ((-e $new) || exists $self->{_exists}{$anew}) {
+ if ((-e $new) || (defined($anew) && exists $self->{_exists}{$anew})) {
$new = "$orig_new.$i";
$anew = l_abs_path($new);
$i++;
Subject: | App-perlmv-0.48-infinite_loop.patch |
--- App-perlmv-0.48/lib/App/perlmv.pm 2015-01-07 08:39:29.000000000 +0000
+++ App-perlmv-0.48/lib/App/perlmv.pm 2015-11-14 21:55:54.814803550 +0000
@@ -448,7 +448,7 @@
unless ($self->{'overwrite'}) {
my $i = 1;
while (1) {
- if ((-e $new) || exists $self->{_exists}{$anew}) {
+ if ((-e $new) || (defined($anew) && exists $self->{_exists}{$anew})) {
$new = "$orig_new.$i";
$anew = l_abs_path($new);
$i++;
Subject: | hsh.log |
Message body is not shown because it is too large.