components/apache2-modules/mod_perl/patches/bug38084.patch
changeset 278 77b380ba9d84
equal deleted inserted replaced
277:12ebd29ad46c 278:77b380ba9d84
       
     1 --- mod_perl-2.0.4/lib/Apache2/SizeLimit.pm.orig	Mon Nov 23 02:17:25 2009
       
     2 +++ mod_perl-2.0.4/lib/Apache2/SizeLimit.pm	Mon Nov 23 02:21:39 2009
       
     3 @@ -52,7 +52,8 @@
       
     4          if Apache2::MPM->is_threaded();
       
     5  
       
     6      # decide at compile time how to check for a process' memory size.
       
     7 -    if (SOLARIS && $Config{'osvers'} >= 2.6) {
       
     8 +    my ($major,$minor) = split(/\./, $Config{'osvers'});
       
     9 +    if (SOLARIS && (($major > 2) || ($major == 2 && $minor >= 6))) {
       
    10  
       
    11          $HOW_BIG_IS_IT = \&solaris_2_6_size_check;
       
    12