summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2008-10-07 08:06:10 +0000
committerAndreas Schwab <schwab@suse.de>2008-10-07 08:06:10 +0000
commit766f52ec4997045886bd3e711b755128ed4a7c61 (patch)
tree6bef5898e3aa5aa0ac725aa7118253a65f760425 /src/sysdep.c
parentef874e3d242f68c86f8a6bf0028a8669efdc4ff4 (diff)
downloademacs-766f52ec4997045886bd3e711b755128ed4a7c61.tar.gz
Add comment for last change.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 96ab3996953..0a2e2ed1614 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