This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add VMS to the list of "don't fork" OSes
authorNicholas Clark <nick@ccl4.org>
Tue, 13 Jan 2004 22:53:42 +0000 (22:53 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 13 Jan 2004 22:53:42 +0000 (22:53 +0000)
[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

ext/threads/shared/t/wait.t

index e95f66a..d1b7c0a 100644 (file)
@@ -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) = @_;