changeset 28084 | 3fc45956c978 |
parent 28060 | 726f8d6cc324 |
child 28085 | c0d1bf1b26b7 |
--- a/contrib/chg/chg.c Fri Feb 12 06:25:05 2016 -0800 +++ b/contrib/chg/chg.c Fri Jan 29 22:42:22 2016 +0900 @@ -241,6 +241,7 @@ memset(&sa, 0, sizeof(sa)); sa.sa_handler = forwardsignal; sa.sa_flags = SA_RESTART; + sigemptyset(&sa.sa_mask); sigaction(SIGHUP, &sa, NULL); sigaction(SIGINT, &sa, NULL);