[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd main.c (init schema early)



On Aug 9, 2005, at 3:31 PM, Howard Chu wrote:
Hallvard B Furuseth wrote:
...
 but in any case - is there any reason not to always call
 ldap_pvt_thread_initialize() early, maybe just before main() checks
 if argv[0] is a tool name?


I guess there's no harm in doing it. There's probably more in slapcommon.c that we should factor out as well.

Works for NetBSD 2.0. Without this change, slapd -T a fails:

slapd: Error detected by libpthread: Invalid mutex.
Detected by file "/big/builds/ab/netbsd-2-0- RELEASE/src/lib/ libpthread/pthread_mutex.c", line 133, function "pthread_mutex_destroy".
See pthread(3) for information.
Abort trap


    Donn Cave, donn@u.washington.edu