From 0a7083144ec4585ca78feb505d0cfe2a32a1ca41 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Fri, 7 Mar 2003 21:22:49 +0000 Subject: [PATCH] * gss_libinit.c: Changed USE_HARDCODED_FALLBACK_ERROR_TABLES macro to !USE_BUNDLE_ERROR_STRINGS so Darwin based builds get com_err style error tables git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15266 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/ChangeLog | 6 ++++++ src/lib/gssapi/gss_libinit.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/ChangeLog b/src/lib/gssapi/ChangeLog index 27dba4b54..fa2832e0b 100644 --- a/src/lib/gssapi/ChangeLog +++ b/src/lib/gssapi/ChangeLog @@ -1,3 +1,9 @@ +2003-03-07 Alexandra Ellwood + + * gss_libinit.c: Changed USE_HARDCODED_FALLBACK_ERROR_TABLES macro + to !USE_BUNDLE_ERROR_STRINGS so Darwin based builds get com_err + style error tables. + 2003-03-06 Alexandra Ellwood * gss_libinit.c: Removed Mac header goober. diff --git a/src/lib/gssapi/gss_libinit.c b/src/lib/gssapi/gss_libinit.c index 51d2cb154..7906786e9 100644 --- a/src/lib/gssapi/gss_libinit.c +++ b/src/lib/gssapi/gss_libinit.c @@ -16,7 +16,7 @@ OM_uint32 gssint_initialize_library (void) { if (!initialized) { -#if !TARGET_OS_MAC || USE_HARDCODED_FALLBACK_ERROR_TABLES +#if !USE_BUNDLE_ERROR_STRINGS add_error_table(&et_k5g_error_table); add_error_table(&et_ggss_error_table); #endif @@ -39,7 +39,7 @@ void gssint_cleanup_library (void) (void) kg_release_defcred (&min_stat); -#if !TARGET_OS_MAC || USE_HARDCODED_FALLBACK_ERROR_TABLES +#if !USE_BUNDLE_ERROR_STRINGS remove_error_table(&et_k5g_error_table); remove_error_table(&et_ggss_error_table); #endif -- 2.26.2