Remove use of non-standard sigaction_t

This commit is contained in:
Todd C. Miller
2017-05-12 10:02:18 -06:00
parent b5c88e52b1
commit d979898e71
16 changed files with 14 additions and 38 deletions

View File

@@ -318,7 +318,7 @@ main(int argc, char *argv[], char *envp[])
* signal. However, we want to avoid having sudo dump core itself.
*/
if (WIFSIGNALED(status)) {
sigaction_t sa;
struct sigaction sa;
if (WCOREDUMP(status))
disable_coredump(false);