From: Hugo van der Sanden Date: Mon, 2 Dec 2002 03:09:42 +0000 (+0000) Subject: integrate util.c fragment from #18200 to undef SA_RESTART on MacOS X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=abea2c45356ff8c6b21a39826fabe48565c92df0;p=p5sagit%2Fp5-mst-13.2.git integrate util.c fragment from #18200 to undef SA_RESTART on MacOS p4raw-id: //depot/perl@18225 --- diff --git a/util.c b/util.c index c4b25af..9a97a6b 100644 --- a/util.c +++ b/util.c @@ -2172,6 +2172,11 @@ dup2(int oldfd, int newfd) #ifndef PERL_MICRO #ifdef HAS_SIGACTION +#ifdef MACOS_TRADITIONAL +/* We don't want restart behavior on MacOS */ +#undef SA_RESTART +#endif + Sighandler_t Perl_rsignal(pTHX_ int signo, Sighandler_t handler) {