diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-12-19 11:02:27 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-12-19 11:02:27 +0000 |
commit | 0dd95eb270db2cdad9a8acda96ac3a3aab8775c2 (patch) | |
tree | a2473d20b68ad8e7013308311b242905395be5b8 | |
parent | a26e96dff1c9d91b0bf389e6149016d8a3f26e49 (diff) | |
download | perl-0dd95eb270db2cdad9a8acda96ac3a3aab8775c2.tar.gz |
alarm.t with -Uuseperlio fix
- SA_RESTART should only be function of PERL_OLD_SIGNALS
not USE_PERLIO
p4raw-id: //depot/perlio@13796
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2255,7 +2255,7 @@ Perl_rsignal(pTHX_ int signo, Sighandler_t handler) sigemptyset(&act.sa_mask); act.sa_flags = 0; #ifdef SA_RESTART -#if !defined(USE_PERLIO) || defined(PERL_OLD_SIGNALS) +#if defined(PERL_OLD_SIGNALS) act.sa_flags |= SA_RESTART; /* SVR4, 4.3+BSD */ #endif #endif @@ -2289,7 +2289,7 @@ Perl_rsignal_save(pTHX_ int signo, Sighandler_t handler, Sigsave_t *save) sigemptyset(&act.sa_mask); act.sa_flags = 0; #ifdef SA_RESTART -#if !defined(USE_PERLIO) || defined(PERL_OLD_SIGNALS) +#if defined(PERL_OLD_SIGNALS) act.sa_flags |= SA_RESTART; /* SVR4, 4.3+BSD */ #endif #endif |