[vlc-devel] commit: Really handle sigwait() errors ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jul 11 17:33:57 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 11 18:33:09 2009 +0300| [2efb87e5fce0ace4e996915a7c3fc95973d432e1] | committer: Rémi Denis-Courmont
Really handle sigwait() errors
(cherry picked from commit d0c3b82dddb8d71029469aa1a96e27e4d56bd46e)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2efb87e5fce0ace4e996915a7c3fc95973d432e1
---
modules/control/signals.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/control/signals.c b/modules/control/signals.c
index 7b63cbc..7acf926 100644
--- a/modules/control/signals.c
+++ b/modules/control/signals.c
@@ -100,7 +100,7 @@ static void *SigThread (void *data)
do
{
- sigwait (&set, &signum);
+ while (sigwait (&set, &signum));
#ifdef __APPLE__
/* In Mac OS X up to 10.5 sigwait (among others) is not a pthread
More information about the vlc-devel
mailing list