2005-02-08 Ken Raeburn <raeburn@mit.edu>
+ * krb5_libinit.c (krb5int_lib_init, krb5int_lib_fini): If
+ SHOW_INITFINI_FUNCS is defined, print tracing messages.
+
* Makefile.in (LIBINITFUNC, LIBFINIFUNC): Define.
2005-01-17 Jeffrey Altman <jaltman@mit.edu>
{
int err;
+#ifdef SHOW_INITFINI_FUNCS
+ printf("krb5int_lib_init\n");
+#endif
+
#if !USE_BUNDLE_ERROR_STRINGS
add_error_table(&et_krb5_error_table);
add_error_table(&et_kv5m_error_table);
void krb5int_lib_fini(void)
{
- if (!INITIALIZER_RAN(krb5int_lib_init) || PROGRAM_EXITING())
+ if (!INITIALIZER_RAN(krb5int_lib_init) || PROGRAM_EXITING()) {
+ printf("krb5int_lib_fini: skipping\n");
return;
+ }
+
+#ifdef SHOW_INITFINI_FUNCS
+ printf("krb5int_lib_fini\n");
+#endif
k5_mutex_destroy(&krb5int_us_time_mutex);