VERSION.sh | 2 +-
ldap/servers/slapd/tools/ldclt/ldclt.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 4c31c0d674341e690c87aed94f45ae2003294440
Author: Rich Megginson <rmeggins(a)redhat.com>
Date: Thu May 3 08:40:07 2012 -0600
bump version to 1.2.10.8
diff --git a/VERSION.sh b/VERSION.sh
index f5117a7..76d5d16 100644
--- a/VERSION.sh
+++ b/VERSION.sh
@@ -10,7 +10,7 @@ vendor="389 Project"
# PACKAGE_VERSION is constructed from these
VERSION_MAJOR=1
VERSION_MINOR=2
-VERSION_MAINT=10.7
+VERSION_MAINT=10.8
# if this is a PRERELEASE, set VERSION_PREREL
# otherwise, comment it out
# be sure to include the dot prefix in the prerel
commit 9368250f2db4353cec7b489cb48c9c1f192f5c90
Author: Rich Megginson <rmeggins(a)redhat.com>
Date: Thu May 3 08:21:53 2012 -0600
Ticket #348 - crash in ldap_initialize with multiple threads
https://fedorahosted.org/389/ticket/348
Resolves: Ticket #348
Bug Description: crash in ldap_initialize with multiple threads
Reviewed by: mreynolds (Thanks!)
Branch: master
Fix Description: ldclt was not calling PR_Init - needed in order to use
PR_CallOnce
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
diff --git a/ldap/servers/slapd/tools/ldclt/ldclt.c
b/ldap/servers/slapd/tools/ldclt/ldclt.c
index a00058b..27a2412 100644
--- a/ldap/servers/slapd/tools/ldclt/ldclt.c
+++ b/ldap/servers/slapd/tools/ldclt/ldclt.c
@@ -295,6 +295,7 @@ dd/mm/yy | Author | Comments
#include <sys/time.h> /* struct rlimit, etc... */
#endif
+#include "nspr.h"
#include "port.h" /* Portability definitions */ /*JLS 29-11-00*/
#include "ldclt.h" /* This tool's include file */
#include "utils.h" /* Utilities functions */ /*JLS 16-11-00*/
@@ -2652,6 +2653,7 @@ main (
int found; /* General purpose variable */ /*JLS 18-12-00*/
char verStr[40]; /* Version string */ /*JLS 13-03-01*/
+ PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 0); /* for PR_CallOnce, others */
/*
* Build the argv list to keep track of it...
* Print version.