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_final-


From: Petter Reinholdtsen
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1834-g45167dc
Date: Wed, 15 Jan 2014 10:45:27 +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  45167dc457c52d29dcbe134a78d4dc6153d3529b (commit)
      from  6c3a4ce7c2c7fd286201cf6a4678ef4c35c9748b (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=45167dc457c52d29dcbe134a78d4dc6153d3529b


commit 45167dc457c52d29dcbe134a78d4dc6153d3529b
Author: Petter Reinholdtsen <address@hidden>
Date:   Wed Jan 15 11:44:43 2014 +0100

    Avoid double close when an error occur (Coverity CID 1149311).

diff --git a/gui/fb/fb.cpp b/gui/fb/fb.cpp
index 98b9fb1..34d168b 100644
--- a/gui/fb/fb.cpp
+++ b/gui/fb/fb.cpp
@@ -709,6 +709,7 @@ FBGui::enable_terminal()
     if (ioctl(fd, VT_ACTIVATE, _original_vt)) {
         log_error(_("Could not activate VT number %d"), _original_vt);
         close(_fd);
+        _fd = -1;
         close(fd);
         return false;
     }

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

Summary of changes:
 gui/fb/fb.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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