]> git.sesse.net Git - vlc/commitdiff
Revert "Handle EINTR from sigwait"
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 11 Jul 2009 15:32:49 +0000 (18:32 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 11 Jul 2009 15:32:49 +0000 (18:32 +0300)
This reverts commit 5878fd3087cc631b930e4c486612af92a2ba9c68.

modules/control/signals.c

index 1435cd3a08d1d8cec6891eeb677936e73e97a0df..7b63cbc496453dcb995375dfae665b6925da03fb 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <signal.h>
 #include <time.h>
-#include <assert.h>
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
@@ -101,15 +100,8 @@ static void *SigThread (void *data)
 
     do
     {
-        switch (sigwait (&set, &signum))
-        {
-            case EINTR:
-                continue;
-            case 0:
-                break;
-            default:
-                assert (0);
-        }
+        sigwait (&set, &signum);
+
 #ifdef __APPLE__
         /* In Mac OS X up to 10.5 sigwait (among others) is not a pthread
          * cancellation point */