From: Nicholas Clark Date: Tue, 13 Jan 2004 22:53:42 +0000 (+0000) Subject: Add VMS to the list of "don't fork" OSes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a56b3a00287b552dbc3a1b6102629c6e0aedfc2d;p=p5sagit%2Fp5-mst-13.2.git Add VMS to the list of "don't fork" OSes [In the most simple way possible. Fix this properly post 5.8.3 to use $Config{d_fork} or something more robust] p4raw-id: //depot/perl@22133 --- diff --git a/ext/threads/shared/t/wait.t b/ext/threads/shared/t/wait.t index e95f66a..d1b7c0a 100644 --- a/ext/threads/shared/t/wait.t +++ b/ext/threads/shared/t/wait.t @@ -33,7 +33,7 @@ sub forko (&$$); # To prevent deadlock from underlying pthread_* bugs (as in # stock RH9 glibc/NPTL) or from our own errors, we run tests # in separately forked and alarmed processes. -*forko = ($^O =~ /^dos|os2|mswin32|netware$/i) # Not on DOSish platforms +*forko = ($^O =~ /^dos|os2|mswin32|netware|vms$/i) ? sub (&$$) { my $code = shift; goto &$code; } : sub (&$$) { my ($code, $expected, $patience) = @_;