summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2002-12-02 03:09:42 +0000
committerhv <hv@crypt.org>2002-12-02 03:09:42 +0000
commitabea2c45356ff8c6b21a39826fabe48565c92df0 (patch)
tree40a8bf44b603ac97d57521609966530dfda00cfc /util.c
parent9c6ed6d7263c1b2c230f35c31c8bcd2eef2d5431 (diff)
downloadperl-abea2c45356ff8c6b21a39826fabe48565c92df0.tar.gz
integrate util.c fragment from #18200 to undef SA_RESTART on MacOS
p4raw-id: //depot/perl@18225
Diffstat (limited to 'util.c')
-rw-r--r--util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util.c b/util.c
index c4b25af64e..9a97a6bc48 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)
{