Bug#861952: libcgi-validop-perl: FTBFS on May 1st (?)

gregor herrmann gregoa at debian.org
Thu May 18 17:23:40 UTC 2017


On Sat, 06 May 2017 11:30:00 +0000, Niels Thykier wrote:

> I looked at the code[1] and it has:
> 
> >             # Normlize
> >             # Unless we are checking the present or yesterday, assume the biggest day of the month is 28
> >             my $maxday = (
> >                 $time eq 'present' or  
> >                 ( $time eq 'past' and $vector eq 'day' )
> >             ) ? 31 : 28;
> 
> Take the branch that leads to "31" and then:
> 
> > [...]
> >             if ( $vectors->{ day } < 1 ) {
> >                 $vectors->{ day } = $maxday;
> >                 $vectors->{ month }--;
> >             }
> 
> Which looks like it would get this wrong for all months with < 31 days
> in them on the yesterday.  I have tagged it stretch-ignore, but I am
> happy to consider a fix for stretch.

Additional data:
- popcon vote: 0
- reverse dependencies: 0
- last release: 2009 or 2010
- not on metacpan; search.cpan.org has only older version.
  http://search.cpan.org/dist/CGI-ValidOp/

So we might as well remove this package ...


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170518/ad34c2b3/attachment.sig>


More information about the pkg-perl-maintainers mailing list