diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | misc.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,8 @@ 20010218 - (bal) Patch for fix FCHMOD reference in ftp-client.c by Tim Rice <tim@multitalents.net> + - (Bal) Patch for lack of RA_RESTART in misc.c for mysignal by + stevesk 20010217 - (bal) OpenBSD Sync: @@ -4008,4 +4010,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.783 2001/02/17 16:47:47 mouring Exp $ +$Id: ChangeLog,v 1.784 2001/02/17 16:51:07 mouring Exp $ @@ -108,8 +108,10 @@ mysignal(int sig, mysig_t act) memset(&sa, 0, sizeof sa); sigemptyset(&sa.sa_mask); sa.sa_flags = 0; +#ifdef SA_RESTART if (sig == SIGCHLD) sa.sa_flags |= SA_RESTART; +#endif sa.sa_handler = act; if (sigaction(sig, &sa, 0) == -1) return (mysig_t) -1; |