summaryrefslogtreecommitdiffstats
path: root/misc.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-06-15 00:04:23 +0000
committerKevin Steves <stevesk@pobox.com>2001-06-15 00:04:23 +0000
commit974fb9cf2fa820971e0da31a0acf99241c14e48d (patch)
tree9fb2b5e765688e4f3c81829830b62153e5f09cb6 /misc.c
parent7a83722577b5aa04c65e3b5314a77ae4012904e3 (diff)
- (stevesk) don't set SA_RESTART and set SIGCHLD to SIG_DFL
around grantpt().
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/misc.c b/misc.c
index 208819cd..5e98b8bb 100644
--- a/misc.c
+++ b/misc.c
@@ -280,10 +280,6 @@ mysignal(int sig, mysig_t act)
memset(&sa, 0, sizeof(sa));
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
-#if defined(SA_RESTART)
- if (sig == SIGCHLD)
- sa.sa_flags |= SA_RESTART;
-#endif
#if defined(SA_INTERRUPT)
if (sig == SIGALRM)
sa.sa_flags |= SA_INTERRUPT;