[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl-cvs
Subject:    svn commit: r165384 - in /perl/modperl/trunk: Changes lib/Apache2/Build.pm
From:       stas () apache ! org
Date:       2005-04-30 7:08:27
Message-ID: 20050430070828.59559.qmail () minotaur ! apache ! org
[Download RAW message or body]

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 *** <doink123@abv.bg>

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 *** <doink123@abv.bg>]
+
 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic