commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 25/25: boot: Ignore EINTR.


From: Samuel Thibault
Subject: [hurd] 25/25: boot: Ignore EINTR.
Date: Mon, 24 Oct 2016 00:16:46 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 341f43df4b3688702746b5d0365c05d99fdeeb4e
Author: Justus Winter <address@hidden>
Date:   Sat Oct 15 18:15:13 2016 +0200

    boot: Ignore EINTR.
    
    * boot/boot.c (main): Ignore EINTR in the loop processing stdin.
---
 boot/boot.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/boot/boot.c b/boot/boot.c
index 462243c..02af068 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -742,7 +742,8 @@ main (int argc, char **argv, char **envp)
       FD_SET (0, &rmask);
       if (select (1, &rmask, 0, 0, 0) == 1)
        read_reply ();
-      else /* We hosed */
+      else if (errno != EINTR)
+        /* We hosed */
        error (5, errno, "select");
     }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]