From 766f52ec4997045886bd3e711b755128ed4a7c61 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 7 Oct 2008 08:06:10 +0000 Subject: [PATCH] Add comment for last change. --- src/sysdep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysdep.c b/src/sysdep.c index 96ab399695..0a2e2ed161 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -2135,6 +2135,8 @@ sys_signal (int signal_number, signal_handler_t action) When SYNC_INPUT is set, we don't want SA_RESTART because we need to poll for pending input so we need long-running syscalls to be interrupted after a signal that sets the interrupt_input_pending flag. */ + /* Non-interactive keyboard input goes through stdio, where we always + want restartable system calls. */ # if defined (BROKEN_SA_RESTART) || defined(SYNC_INPUT) if (noninteractive) # endif -- 2.39.2