gnash-commit
[Top][All Lists]
Advanced

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

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


From: Bastiaan Jacques
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-183-g75ac1f9
Date: Mon, 07 Mar 2011 12:10:12 +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  75ac1f9914cfea8762e3ea9c8bcd0ea41d8a34c3 (commit)
      from  3a7a4199bb7d3cca2b0ea0ca4c1c40d9910e30c2 (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=75ac1f9914cfea8762e3ea9c8bcd0ea41d8a34c3


commit 75ac1f9914cfea8762e3ea9c8bcd0ea41d8a34c3
Author: Bastiaan Jacques <address@hidden>
Date:   Mon Mar 7 13:07:56 2011 +0100

    Linux and OpenBSD disagree on the return value of fputs on success, but
    they agree on the failure value.

diff --git a/extensions/fileio/fileio.cpp b/extensions/fileio/fileio.cpp
index 524bedb..d3041ab 100644
--- a/extensions/fileio/fileio.cpp
+++ b/extensions/fileio/fileio.cpp
@@ -327,7 +327,7 @@ FileIO::fputs(const string &str)
 {
 //    GNASH_REPORT_FUNCTION;
     if (_stream) {
-        if (::fputs(str.c_str(), _stream)) {
+        if (::fputs(str.c_str(), _stream) != EOF) {
             return true;
         }
     }    

-----------------------------------------------------------------------

Summary of changes:
 extensions/fileio/fileio.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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