changeset 98548:2c49cf36c498

Add comment for last change.
author Andreas Schwab <schwab@suse.de>
date Tue, 07 Oct 2008 08:06:10 +0000
parents 0835efd6ac19
children 994ac1522433
files src/sysdep.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Mon Oct 06 21:27:44 2008 +0000
+++ b/src/sysdep.c	Tue Oct 07 08:06:10 2008 +0000
@@ -2135,6 +2135,8 @@
      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