+2004-07-31 Ken Raeburn <raeburn@mit.edu>
+
+ * threads.c (krb5int_thread_support_init): Do finish
+ initialization after key creation in POSIX case.
+
2004-07-23 Ken Raeburn <raeburn@mit.edu>
* fake-addrinfo.c (krb5int_fac): Initialize the mutex.
err = k5_mutex_finish_init(&key_lock);
if (err)
return err;
- if (K5_PTHREADS_LOADED)
- return pthread_key_create(&key, thread_termination);
+ if (K5_PTHREADS_LOADED) {
+ err = pthread_key_create(&key, thread_termination);
+ if (err)
+ return err;
+ }
#endif