diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2003-03-07 21:22:49 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2003-03-07 21:22:49 +0000 |
commit | 0a7083144ec4585ca78feb505d0cfe2a32a1ca41 (patch) | |
tree | 27ac99f364001662a675184894f0697d256ece9f /src/lib | |
parent | 1cc260646269d7252ea4feb927d84d71908f2fcc (diff) | |
download | krb5-0a7083144ec4585ca78feb505d0cfe2a32a1ca41.zip krb5-0a7083144ec4585ca78feb505d0cfe2a32a1ca41.tar.gz krb5-0a7083144ec4585ca78feb505d0cfe2a32a1ca41.tar.bz2 |
* 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
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/gssapi/ChangeLog | 6 | ||||
-rw-r--r-- | 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 27dba4b..fa2832e 100644 --- a/src/lib/gssapi/ChangeLog +++ b/src/lib/gssapi/ChangeLog @@ -1,3 +1,9 @@ +2003-03-07 Alexandra Ellwood <lxs@mit.edu> + + * 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 <lxs@mit.edu> * gss_libinit.c: Removed Mac header goober. diff --git a/src/lib/gssapi/gss_libinit.c b/src/lib/gssapi/gss_libinit.c index 51d2cb1..7906786 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 |