top: Initialize struct sigaction in before().
This commit is contained in:
parent
d69966962c
commit
7fc7062127
@ -3594,6 +3594,7 @@ static void before (char *me) {
|
||||
#define SIGRTMAX 32
|
||||
#endif
|
||||
// lastly, establish a robust signals environment
|
||||
memset(&sa, 0, sizeof(sa));
|
||||
sigemptyset(&sa.sa_mask);
|
||||
// with user position preserved through SIGWINCH, we must avoid SA_RESTART
|
||||
sa.sa_flags = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user