Skip to content

Commit a36c65e

Browse files
committed
Remove old note
You should not attempt to set sa_sigaction when sa_handler is used, I assume this is commented out because someone tried it anyway and learned why it's a bad idea.
1 parent 019c5b6 commit a36c65e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openarc/openarc.c

-1
Original file line numberDiff line numberDiff line change
@@ -4671,7 +4671,6 @@ main(int argc, char **argv)
46714671
}
46724672

46734673
sa.sa_handler = arcf_sighandler;
4674-
/* XXX -- HAHAHAH => sa.sa_sigaction = NULL; */
46754674
sigemptyset(&sa.sa_mask);
46764675
sigaddset(&sa.sa_mask, SIGHUP);
46774676
sigaddset(&sa.sa_mask, SIGINT);

0 commit comments

Comments
 (0)