On 04/22/2016 01:45 PM, Bob of Donelson Trophy wrote:
Someday, when the need arises, someone will pickup the banner and run with it. Post the fix to whatever script needs a line change and we the users will continue to enjoy the benefits.
Here is a fix that has become necessary with the upgrade of the oncoming Mageia-6 release to perl 5.22. - opening an existing backup for consultation/restore now fails with: (see https://bugs.mageia.org/show_bug.cgi?id=18251)
Software error:Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/share/backuppc/lib/BackupPC/CGI/Browse.pm line 68.
Using "defined @<list>" had been deprecated in perl and, with perl 5.22, is not tolerated any more. I attach the patch that fixes this problem
Juergen
diff -p -up ./Browse.pm.org ./Browse.pm --- ./Browse.pm.org 2016-04-26 07:17:22.382125725 +0200 +++ ./Browse.pm 2016-04-26 07:30:43.657865891 +0200 @@ -65,7 +65,8 @@ sub action # # default to the newest backup # - if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) { +## Bugzilla 18251 if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) { + if ( !defined($In{num}) && @Backups > 0 ) { $i = @Backups - 1; $num = $Backups[$i]{num}; }
------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/