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. 8e6fe3e65118cbabaf6a


From: Andrea Palmatè
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 8e6fe3e65118cbabaf6a7c7e89cc97e4192bb64f
Date: Wed, 06 Oct 2010 17:41:16 +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  8e6fe3e65118cbabaf6a7c7e89cc97e4192bb64f (commit)
      from  1899a4a10b6104d34f6c5447e72b838a91dd2b2f (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=8e6fe3e65118cbabaf6a7c7e89cc97e4192bb64f


commit 8e6fe3e65118cbabaf6a7c7e89cc97e4192bb64f
Author: Andrea Palmatè <address@hidden>
Date:   Wed Oct 6 19:39:15 2010 +0200

    Small changes

diff --git a/libbase/SharedMem.cpp b/libbase/SharedMem.cpp
index 50fcb43..cab62f1 100644
--- a/libbase/SharedMem.cpp
+++ b/libbase/SharedMem.cpp
@@ -88,6 +88,7 @@ SharedMem::~SharedMem()
         log_error("Error during stat of shared memory segment: %s",
                 std::strerror(err));
     }
+#ifndef __amigaos4__
     else {
         // Note that this isn't completely reliable.
         if (!ds.shm_nattch) {
@@ -95,6 +96,7 @@ SharedMem::~SharedMem()
             ::shmctl(_shmid, IPC_RMID, 0);
         }
     }
+#endif
 #else
     // Windows code here.
 #endif
diff --git a/libcore/asobj/flash/external/ExternalInterface_as.cpp 
b/libcore/asobj/flash/external/ExternalInterface_as.cpp
index 244acde..0b8065f 100644
--- a/libcore/asobj/flash/external/ExternalInterface_as.cpp
+++ b/libcore/asobj/flash/external/ExternalInterface_as.cpp
@@ -50,6 +50,8 @@
 #include "movie_root.h"
 #include "log.h"
 
+#define MAXHOSTNAMELEN 256 // max hostname size. However this is defined in 
netdb.h
+
 namespace gnash {
 
 namespace {
@@ -314,7 +316,6 @@ externalinterface_available(const fn_call& fn)
       case movie_root::SCRIPT_ACCESS_SAME_DOMAIN:
       {
           const std::string& baseurl = m.getOriginalURL();
-          const int MAXHOSTNAMELEN = 128;
           char hostname[MAXHOSTNAMELEN];
           memset(hostname, 0, MAXHOSTNAMELEN);
           

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

Summary of changes:
 libbase/SharedMem.cpp                              |    2 ++
 .../asobj/flash/external/ExternalInterface_as.cpp  |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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