Module Name: krb5 Committed By: raeburn Date: Thu Jun 3 00:30:03 UTC 2004 Modified Files: krb5/src/util/et/ChangeLog krb5/src/util/et/com_err.c krb5/src/util/et/error_message.c krb5/src/util/et/error_table.h Added Files: Removed Files: Log Message The com_err library is now probably as thread-safe as it's going to get, on UNIX; Windows still needs work.... * com_err.c: Include stdlib.h. (com_err_hook_lock): New mutex. (com_err_lock_hook_handle): New function. (com_err_va, set_com_err_hook, reset_com_err_hook): Call com_err_finish_init, and grab the lock. * error_message.c: Don't include k5-thread.h. (com_err_finish_init): New function. (com_err_initialize): Initialize the new mutex. * error_table.h: Include k5-thread.h. (com_err_hook_lock, com_err_finish_init): Declare. To generate a diff of this commit: cvs diff -r5.140 -r5.141 krb5/src/util/et/ChangeLog cvs diff -r5.38 -r5.39 krb5/src/util/et/com_err.c cvs diff -r5.43 -r5.44 krb5/src/util/et/error_message.c cvs diff -r5.20 -r5.21 krb5/src/util/et/error_table.h