libgnome r3755 - in trunk: . libgnome



Author: fejj
Date: Thu Jul 17 18:37:11 2008
New Revision: 3755
URL: http://svn.gnome.org/viewvc/libgnome?rev=3755&view=rev

Log:
2008-07-17  Jeffrey Stedfast  <fejj novell com>

	* libgnome/gnome-sound.c (send_all): Check for EAGAIN too (thanks
	to Morten for pointing this out).



Modified:
   trunk/ChangeLog
   trunk/libgnome/gnome-sound.c

Modified: trunk/libgnome/gnome-sound.c
==============================================================================
--- trunk/libgnome/gnome-sound.c	(original)
+++ trunk/libgnome/gnome-sound.c	Thu Jul 17 18:37:11 2008
@@ -438,7 +438,7 @@
 		do {
 			pfd[0].revents = 0;
 			rv = poll (pfd, 1, 100);
-		} while (rv == -1 && errno == EINTR);
+		} while (rv == -1 && (errno == EINTR || errno == EAGAIN));
 		
 		if (pfd[0].revents & POLLOUT) {
 			/* socket is ready for writing */



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