[Top][All Lists]

[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: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-611-gbcbe20a
Date: Fri, 05 Aug 2011 12:59:21 +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  bcbe20ae3aefde22c7f470b0284cba20be373589 (commit)
      from  621041022c13220d196b14480e74326e7ce69912 (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 bcbe20ae3aefde22c7f470b0284cba20be373589
Author: Benjamin Wolsey <address@hidden>
Date:   Fri Aug 5 14:56:59 2011 +0200

    Remove semaphore too.

diff --git a/libbase/SharedMem.cpp b/libbase/SharedMem.cpp
index 175d561..822903a 100644
--- a/libbase/SharedMem.cpp
+++ b/libbase/SharedMem.cpp
@@ -80,8 +80,10 @@ SharedMem::~SharedMem()
     else {
         // Note that this isn't completely reliable.
         if (!ds.shm_nattch) {
-            log_debug("No shared memory users left. Removing segment.");
+            log_debug("No shared memory users left. Removing segment "
+                    "and semaphore.");
             ::shmctl(_shmid, IPC_RMID, 0);
+            ::semctl(_semid, IPC_RMID, 0);


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


reply via email to

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