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

@@ -465,7 +465,7 @@ timestamp_lock_record(int fd, off_t pos, off_t len)
got_signal = 0;
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 = timestamp_handler;
(void) sigaction(SIGINT, &sa, &saveint);
(void) sigaction(SIGQUIT, &sa, &savequit);