Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 98182
Status: resolved
Priority: 0/
Queue: mod_perl

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

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



Subject: Couple of Patches
Date: Tue, 19 Aug 2014 12:14:02 -0700
To: bug-mod_perl [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
I had to apply these patches to get mod_perl tests to pass. mod_perl-undef_args.patch: Fixes an error on Perl 5.20 when args returns undef. mod_perl-header_underscore.patch: Supports LWP > 6.0. Best, David

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Download signature.asc
application/pgp-signature 842b

Message body not shown because it is not plain text.

Found another instance of an undefined error. Updated patch attached.
Subject: mod_perl-undef_args.patch
--- a/t/response/TestDirective/perlloadmodule2.pm 2014-08-14 13:55:56.331568918 -0700 +++ b/t/response/TestDirective/perlloadmodule2.pm 2014-08-14 13:55:58.599567494 -0700 @@ -82,7 +82,7 @@ my $s = $r->server; - if ($r->args eq 'srv') { + if ($r->args || '' eq 'srv') { my $srv_cfg = $self->get_config($s); $r->print("srv: @{ $srv_cfg->{MyMergeTest}||[] }"); } --- a/Apache-Reload/t/lib/Apache2/TestReload.pm 2014-08-19 13:36:49.324352146 -0700 +++ b/Apache-Reload/t/lib/Apache2/TestReload.pm 2014-08-19 13:36:51.357351017 -0700 @@ -15,7 +15,7 @@ sub handler { my $r = shift; $pass++; - if ($r->args eq 'last') { + if ($r->args || '' eq 'last') { Apache2::Reload->unregister_module($package); ModPerl::Util::unload_package($package); $pass = 0;
Thanks for the patches, but these changes have already been made in trunk (r1528836, r1565579 and r1605020).