# HG changeset patch # User Andreas Schwab # Date 1223366770 0 # Node ID 2c49cf36c498a21d9349a5c7c60952930a18d76f # Parent 0835efd6ac19cca3ae240a15cd04ae34cb026934 Add comment for last change. diff -r 0835efd6ac19 -r 2c49cf36c498 src/sysdep.c --- 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