commit 8b7c95d1a6a3d640e0193f7ab0811694d62cd593
parent c64dff716eced3fd554428b8d9e5d2f12ceac9e8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 7 May 2022 20:33:08 +0200
sfeed_curses: improve comment
Do not restart the syscall waitpid, explicitly mention not setting SA_RESTART.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -576,7 +576,7 @@ processexit(pid_t pid, int interactive)
sa.sa_handler = SIG_IGN;
sigaction(SIGINT, &sa, NULL);
- sa.sa_flags = 0; /* do not restart SIGTERM: this interrupts waitpid() */
+ sa.sa_flags = 0; /* SIGTERM: interrupt waitpid(), no SA_RESTART */
sa.sa_handler = sighandler;
sigaction(SIGTERM, &sa, NULL);