POSIX sigaction cleanups - removed act.sa_restorer as it's not in POSIX and
is not portable
This commit is contained in:
parent
514ab46ce3
commit
8bc8fd8678
|
@ -237,7 +237,6 @@ LinuxSetSwitchMode (int mode)
|
|||
act.sa_handler = LinuxVTRequest;
|
||||
sigemptyset (&act.sa_mask);
|
||||
act.sa_flags = 0;
|
||||
act.sa_restorer = 0;
|
||||
sigaction (SIGUSR1, &act, 0);
|
||||
|
||||
VT.mode = mode;
|
||||
|
@ -249,7 +248,6 @@ LinuxSetSwitchMode (int mode)
|
|||
act.sa_handler = SIG_IGN;
|
||||
sigemptyset (&act.sa_mask);
|
||||
act.sa_flags = 0;
|
||||
act.sa_restorer = 0;
|
||||
sigaction (SIGUSR1, &act, 0);
|
||||
|
||||
VT.mode = mode;
|
||||
|
|
Loading…
Reference in New Issue
Block a user