diff options
author | Alan Ferrency <alan@pair.com> | 2003-06-11 10:07:00 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-13 14:36:18 +0000 |
commit | 36b5d37759b240b9bf50903516f8b06d0cf59382 (patch) | |
tree | 73bedc9df65e58888739dd735237d9be5d78885a /util.c | |
parent | f72d1791dc00727a5f66df7ed9fa216194f48af8 (diff) | |
download | perl-36b5d37759b240b9bf50903516f8b06d0cf59382.tar.gz |
Re: [perl #18849] fork/system bug on FreeBSD
Message-ID: <Pine.BSF.4.30.0306111348450.32145-100000@smx.pair.com>
(the first alternative)
p4raw-id: //depot/perl@19765
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2200,7 +2200,7 @@ Perl_rsignal(pTHX_ int signo, Sighandler_t handler) if (PL_signals & PERL_SIGNALS_UNSAFE_FLAG) act.sa_flags |= SA_RESTART; /* SVR4, 4.3+BSD */ #endif -#ifdef SA_NOCLDWAIT +#ifdef SA_NOCLDWAIT && !defined(BSDish) /* See [perl #18849] */ if (signo == SIGCHLD && handler == (Sighandler_t)SIG_IGN) act.sa_flags |= SA_NOCLDWAIT; #endif @@ -2239,7 +2239,7 @@ Perl_rsignal_save(pTHX_ int signo, Sighandler_t handler, Sigsave_t *save) if (PL_signals & PERL_SIGNALS_UNSAFE_FLAG) act.sa_flags |= SA_RESTART; /* SVR4, 4.3+BSD */ #endif -#ifdef SA_NOCLDWAIT +#if defined(SA_NOCLDWAIT) && !defined(BSDish) /* See [perl #18849] */ if (signo == SIGCHLD && handler == (Sighandler_t)SIG_IGN) act.sa_flags |= SA_NOCLDWAIT; #endif |