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-Tag: v5.10.0~8452 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/a56b3a00287b552dbc3a1b6102629c6e0aedfc2d?hp=ef9466ead9a7d468cd27794efe05e08b2c595e6f 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) = @_;