Mageia Bugzilla – Attachment 7695 Details for
Bug 18251
BackupPC fails to open any saved backup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch for a workaround and, possibly, a fix
backuppc_syntax.patch (text/plain), 506 bytes, created by
Juergen Harms
on 2016-04-26 10:35:29 CEST
(
hide
)
Description:
Patch for a workaround and, possibly, a fix
Filename:
MIME Type:
Creator:
Juergen Harms
Created:
2016-04-26 10:35:29 CEST
Size:
506 bytes
patch
obsolete
>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}; > }
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}; }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18251
: 7695