print WRITER "not ok 7\n";
close WRITER;
-
+sleep 1;
print "ok 8\n";
# VMS doesn't like spawning subprocesses that are still connected to
exit;
}
-if ($Config{d_sfio}) {
+if ($Config{d_sfio} || $^O eq machten) {
# Sfio doesn't report failure when closing a broken pipe
- # that has pending output. Go figure.
+ # that has pending output. Go figure. MachTen doesn't either,
+ # but won't write to broken pipes, so nothing's pending at close.
print "ok 9\n";
}
else {