|
From: Michael Chase-S. <mc...@us...> - 2012-11-08 01:15:27
|
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 "SFCB - Small Footprint CIM Broker".
The branch, master has been updated
via f2cc3fe15fe22d01e088daf136c596a4ac0470ce (commit)
from caa3f72ffff85d7dc5e265c70c81f3840ac8fe5a (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 f2cc3fe15fe22d01e088daf136c596a4ac0470ce
Author: Michael Chase-Salerno <br...@li...>
Date: Wed Nov 7 20:14:05 2012 -0500
- 3585274 Local connect kills tracing
-----------------------------------------------------------------------
Summary of changes:
diff --git a/NEWS b/NEWS
index 11e3545..196e9df 100644
--- a/NEWS
+++ b/NEWS
@@ -120,6 +120,7 @@ Bugs fixed:
- 3574936 --disable-debug still allocates trace variables
- 3582062 Various additional error checking
- 3580137 Classname needed in *ActivateFilter
+- 3585274 Local connect kills tracing
Changes in 1.3.15
=================
diff --git a/trace.c b/trace.c
index 145679b..6a0cea7 100644
--- a/trace.c
+++ b/trace.c
@@ -130,7 +130,7 @@ _sfcb_trace_init()
FILE *ferr = NULL;
int tryid = 0xDEB001;
- while ((shmid = shmget(tryid, sizeof(unsigned long), (IPC_CREAT | 0660))) < 0 && (errno == EEXIST)) tryid++;
+ while ((shmid = shmget(tryid, sizeof(unsigned long), (IPC_EXCL | IPC_CREAT | 0660))) < 0 && (errno == EEXIST)) tryid++;
mlogf(M_INFO,M_SHOW,"--- Shared memory ID for tracing: %x\n", tryid);
if (shmid < 0) {
mlogf(M_ERROR,M_SHOW, "shmget(%x) failed in %s at line %d.\n", tryid, __FILE__, __LINE__ );
hooks/post-receive
--
SFCB - Small Footprint CIM Broker
|