httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [RELEASE CANDIDATE] Apache-Test 1.13
Date Thu, 26 Aug 2004 01:18:55 GMT
Meanwhile I've committed another workaround, please either use the cvs 
version or apply this patch and let me know whether the problem is still 
there:

Index: lib/Apache/TestRun.pm
===================================================================
RCS file: 
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
retrieving revision 1.179
diff -u -r1.179 TestRun.pm
--- lib/Apache/TestRun.pm	13 Aug 2004 01:38:49 -0000	1.179
+++ lib/Apache/TestRun.pm	26 Aug 2004 01:16:07 -0000
@@ -640,7 +640,8 @@
      $orig_command = "ulimit -c unlimited; $orig_command";
      warning "setting ulimit to allow core files\n$orig_command";
      exec $orig_command;
-    die "exec $orig_command has failed"; # shouldn't be reached
+    # use CORE::die to avoid warnings due to possible overrides of die
+    CORE::die "exec $orig_command has failed"; # shouldn't be reached
  }

  sub set_ulimit {
@@ -744,7 +745,8 @@
      chdir $orig_cwd;
      warning "rerunning '$orig_command' with new config opts";
      exec $orig_command;
-    die "exec $orig_command has failed"; # shouldn't be reached
+    # use CORE::die to avoid warnings due to possible overrides of die
+    CORE::die "exec $orig_command has failed"; # shouldn't be reached
  }

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message