Re: Bug#825534: jessie-pu: package backuppc/3.3.0-2
On Thu, 09 Jun 2016, Ludovic Drolez wrote:
> Hi!
>
> I'm ready to upload a new package without the patch below.
Note that defined(@array) is failing with Perl in stretch... that might be
why the patch got added in the packaging.
(But in any case the test is useless with "@Backups > 0" being equivalent
or stricter.)
> > > +++ backuppc-3.3.0/lib/BackupPC/CGI/Browse.pm
> > > @@ -65,7 +65,7 @@
> > > #
> > > # default to the newest backup
> > > #
> > > - if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) {
> > > + if ( !defined($In{num}) && @Backups && @Backups > 0 ) {
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
Reply to: