mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
Go back to sigaction again now that Peter has found the problem.
Mine was just a "let's move on" kinda fix, Peter's does it right. :) Submitted-by: peter
This commit is contained in:
parent
8797d8597f
commit
4ade2461ae
1 changed files with 3 additions and 3 deletions
|
|
@ -137,14 +137,14 @@ char *use_it = _ncurses_copyright;
|
|||
act.sa_flags = 0;
|
||||
sigaction(SIGTSTP, &act, NULL);
|
||||
act.sa_handler = cleanup;
|
||||
sigemptyset(&act.sa_mask);
|
||||
act.sa_flags = 0;
|
||||
sigaction(SIGINT, &act, NULL);
|
||||
sigaction(SIGTERM, &act, NULL);
|
||||
signal(SIGWINCH, size_change);
|
||||
#if 0
|
||||
sigaction(SIGSEGV, &act, NULL);
|
||||
#endif
|
||||
act.sa_handler = size_change;
|
||||
act.sa_flags = SA_RESTART;
|
||||
sigaction(SIGWINCH, &act, NULL); /* this must restart read() */
|
||||
if ((stdscr = newwin(lines - stolen, columns, topstolen, 0)) == NULL)
|
||||
return(NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue