Author: stas
Date: Sat Apr 30 00:08:25 2005
New Revision: 165384

URL: http://svn.apache.org/viewcvs?rev=165384&view=rev
Log:
fix a warning in Apache2::Build::build_config() when building
with MP_STATIC_EXTS=1 
Contributed by: Nick *** <[EMAIL PROTECTED]>

Modified:
    perl/modperl/trunk/Changes
    perl/modperl/trunk/lib/Apache2/Build.pm

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewcvs/perl/modperl/trunk/Changes?rev=165384&r1=165383&r2=165384&view=diff
==============================================================================
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Sat Apr 30 00:08:25 2005
@@ -12,6 +12,9 @@
 
 =item 1.999_23-dev
 
+fix a warning in Apache2::Build::build_config() when building
+with MP_STATIC_EXTS=1 [Nick *** <[EMAIL PROTECTED]>]
+
 improving DSO support on cygwin. The problem with cygwin is that it
 behaves like windows (it's a posix layer over windows after
 all). That's why we need to supply all symbols during linking time

Modified: perl/modperl/trunk/lib/Apache2/Build.pm
URL: 
http://svn.apache.org/viewcvs/perl/modperl/trunk/lib/Apache2/Build.pm?rev=165384&r1=165383&r2=165384&view=diff
==============================================================================
--- perl/modperl/trunk/lib/Apache2/Build.pm (original)
+++ perl/modperl/trunk/lib/Apache2/Build.pm Sat Apr 30 00:08:25 2005
@@ -783,7 +783,7 @@
     my $self = shift;
     my $bpm_mtime = 0;
 
-    $bpm_mtime = (stat $INC{$bpm})[9] if $INC{$bpm};
+    $bpm_mtime = (stat _)[9] if $INC{$bpm} && -e $INC{$bpm};
 
     if (-e "lib/$bpm" and (stat _)[9] > $bpm_mtime) {
         #reload if Makefile.PL has regenerated


Reply via email to