Remove use of the non-standard SA_INTERRUPT

This commit is contained in:
Todd C. Miller
2017-05-12 10:02:17 -06:00
parent 9c3783a175
commit b5c88e52b1
4 changed files with 3 additions and 10 deletions

View File

@@ -157,7 +157,7 @@ restart:
*/
memset(&sa, 0, sizeof(sa));
sigemptyset(&sa.sa_mask);
sa.sa_flags = SA_INTERRUPT; /* don't restart system calls */
sa.sa_flags = 0; /* don't restart system calls */
sa.sa_handler = tgetpass_handler;
(void) sigaction(SIGALRM, &sa, &savealrm);
(void) sigaction(SIGINT, &sa, &saveint);