Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 101841
Status: resolved
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: haarg [...] haarg.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bad warning in vpp::new
The warning issued at the end of version::vpp::new is missing a sprintf to format its arguments, so the warning has %s placeholders instead of the proper values. Patch attached.
Subject: vpp-warn.patch
diff --git i/vperl/vpp.pm w/vperl/vpp.pm index 45c0349..bdd1e69 100644 --- i/vperl/vpp.pm +++ w/vperl/vpp.pm @@ -700,7 +700,7 @@ sub new { my $s = scan_version($value, \$self, $qv); if ($s) { # must be something left over - warn("Version string '%s' contains invalid data; " + warn(sprintf "Version string '%s' contains invalid data; " ."ignoring: '%s'", $value, $s); }
On Sat Jan 31 02:03:55 2015, haarg wrote: Show quoted text
> The warning issued at the end of version::vpp::new is missing a > sprintf to format its arguments, so the warning has %s placeholders > instead of the proper values. > > Patch attached.
Resolved in 0.9913