summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
authorJohn Peacock <john.peacock@havurah-software.org>2013-03-06 19:22:26 -0500
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-03-07 19:14:00 +0000
commitb2a8d771f2f5721aa711c6ecdb42fdc198bfd244 (patch)
tree3d5418026ba426898422b255ae84fd3825ad4ecd /universal.c
parent96d268e2f48e69b4cb65326df6690ffc21120f3c (diff)
downloadperl-b2a8d771f2f5721aa711c6ecdb42fdc198bfd244.tar.gz
Bring core up to version-0.9902
The attached patch bring the core Perl version code (including a fairly significant leak when run in a tight loop) up to parity with CPAN 0.9902. This deals with all open issues except: https://rt.cpan.org/Ticket/Display.html?id=81294 which I am having a hard time modeling. John Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c
index f58381746d..a72c072a60 100644
--- a/universal.c
+++ b/universal.c
@@ -490,7 +490,7 @@ XS(XS_version_new)
{
dVAR;
dXSARGS;
- if (items > 3)
+ if (items > 3 || items < 1)
croak_xs_usage(cv, "class, version");
SP -= items;
{