summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-12-19 11:02:27 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-12-19 11:02:27 +0000
commit0dd95eb270db2cdad9a8acda96ac3a3aab8775c2 (patch)
treea2473d20b68ad8e7013308311b242905395be5b8
parenta26e96dff1c9d91b0bf389e6149016d8a3f26e49 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index ed3d948478..89c39fa819 100644
--- a/util.c
+++ b/util.c
@@ -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