[Top][All Lists]

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

[Gnash-commit] [SCM] Gnash branch, master, updated. fe4faf34f62b8ead1c5c

From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. fe4faf34f62b8ead1c5c48fa2d426e99fbd6c46a
Date: Thu, 04 Nov 2010 20:15:11 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  fe4faf34f62b8ead1c5c48fa2d426e99fbd6c46a (commit)
      from  3cf449590f72a785e7dfb4f7948c04055b77c406 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit fe4faf34f62b8ead1c5c48fa2d426e99fbd6c46a
Author: Sandro Santilli <address@hidden>
Date:   Thu Nov 4 21:13:39 2010 +0100

    Don't wait for data in ::readBrowser, read only if data is available..

diff --git a/libcore/ExternalInterface.cpp b/libcore/ExternalInterface.cpp
index f876b8a..2c1b321 100644
--- a/libcore/ExternalInterface.cpp
+++ b/libcore/ExternalInterface.cpp
@@ -480,6 +480,7 @@ ExternalInterface::readBrowser(int fd)
     // Wait for some data from the player
     int bytes = 0;
+#if 0
     fd_set fdset;
     FD_SET(fd, &fdset);
@@ -489,8 +490,10 @@ ExternalInterface::readBrowser(int fd)
     // log_debug("Waiting for data... ");
     if (::select(fd + 1, &fdset, NULL, NULL, &tval)) {
         // log_debug("There is data in the network");
-        ioctlSocket(fd, FIONREAD, &bytes);
+    ioctlSocket(fd, FIONREAD, &bytes);
     // No data yet
     if (bytes == 0) {


Summary of changes:
 libcore/ExternalInterface.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


reply via email to

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