Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 454076 Details for
Bug 580254
app-backup/backuppc-3.3.1-r1 with >=perl-5.22: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/share/BackupPC/lib/BackupPC/CGI/Browse.pm line 68.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that fixes >=perl-5.22 incompatibility
01-fix_perl_deprecated_defined_Browse.pm.patch (text/plain), 607 bytes, created by
Till Korten
on 2016-11-22 20:27:25 UTC
(
hide
)
Description:
patch that fixes >=perl-5.22 incompatibility
Filename:
MIME Type:
Creator:
Till Korten
Created:
2016-11-22 20:27:25 UTC
Size:
607 bytes
patch
obsolete
>--- lib/BackupPC/CGI/Browse.pm 2016-11-22 20:52:03.622509160 +0100 >+++ lib/BackupPC/CGI/Browse.pm 2016-11-22 20:50:35.871018400 +0100 >@@ -62,13 +62,13 @@ fix bug https://bugzilla.redhat.com/attachment.cgi?id=1104083 > # > my @Backups = $bpc->BackupInfoRead($host); > > # > # default to the newest backup > # >- if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) { >+ if ( !defined($In{num}) && @Backups > 0 ) { > $i = @Backups - 1; > $num = $Backups[$i]{num}; > } > > for ( $i = 0 ; $i < @Backups ; $i++ ) { > last if ( $Backups[$i]{num} == $num );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 580254
: 454076 |
454078