Re: [ANNOUNCE] mod_perl 2.0.0-RC5

[prev] [thread] [next] [Date index for 2005/04/15]

From: Tom Schindl
Subject: Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Date: 09:23 on 15 Apr 2005
This is a multi-part message in MIME format.
--------------080303020106050600080303
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

and here against current svn-trunk.

Tom

Tom Schindl schrieb:
| The patch I submitted was against the Makefile.PL included into the
| distro rc5 and there it read the following:
|
| --------------------8<--------------------
| my $old_mp2 = eval { require Apache2 };
| require mod_perl;
| if( .... ) {
| ....
| }
| --------------------8<--------------------
|
| Philip M. Gollucci schrieb:
| | Tom Schindl wrote:
| | Index: Makefile.PL
| | ===================================================================
| | --- Makefile.PL (revision 161423)
| | +++ Makefile.PL (working copy)
| | @@ -14,8 +14,8 @@
| |  BEGIN {
| |      eval {
| |          require mod_perl;
| | +        if ($mod_perl::VERSION < 1.999_22 && $old_mp2) {
| |          my $old_mp2 = eval { require Apache2 };
| | -        if ($mod_perl::VERSION < 1.999_22 && $old_mp2) {
| |              $old_modperl_version = $mod_perl::VERSION;
| |              $old_modperl_pm = delete $INC{'mod_perl.pm'};
| |          }
| | That can't work for at least 1 reason:
| | in the if() $old_mp2 is going to cause an undefined variable
| | error messasge thus causing the if's code to _never_ be executed as the
| | error will be caught by the eval.
| |
| |
| | I'll try to duplicate this soonish error locally soonish.
| |
| | HTH
| |
| |
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCX4gKkVPeOFLgZFIRAvz/AKCAlyRH0ApHjAAHsNUMhTYYdynYSwCgq+Kx
aZZv1fQFVmlGfERSBJPesqA=
=2vtQ
-----END PGP SIGNATURE-----

--------------080303020106050600080303
Content-Type: text/x-patch;
 name="Makefile.PL.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Makefile.PL.patch"

Index: Makefile.PL
===================================================================
--- Makefile.PL	(Revision 161424)
+++ Makefile.PL	(Arbeitskopie)
@@ -13,8 +13,8 @@
 
 BEGIN {
     eval {
+        my $old_mp2 = eval { require Apache2 };
         require mod_perl;
-        my $old_mp2 = eval { require Apache2 };
         if ($mod_perl::VERSION < 1.999_22 && $old_mp2) {
             $old_modperl_version = $mod_perl::VERSION;
             $old_modperl_pm = delete $INC{'mod_perl.pm'};

--------------080303020106050600080303--

(message missing)

[ANNOUNCE] mod_perl 2.0.0-RC5
Geoffrey Young 13:43 on 14 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 06:37 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Fred Moyer 06:43 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 07:19 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Philip M. Gollucci 08:38 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Philip M. Gollucci 08:51 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 09:18 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Geoffrey Young 12:55 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Philip M. Gollucci 08:29 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 09:23 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 09:26 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Philip M. Gollucci 11:17 on 15 Apr 2005

Generated at 12:49 on 16 Apr 2005 by mariachi v0.52