Add/remove error tables in library initialization/termination, not per context.
authorKen Raeburn <raeburn@mit.edu>
Wed, 2 Jun 2004 22:35:33 +0000 (22:35 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 2 Jun 2004 22:35:33 +0000 (22:35 +0000)
commitbd4f6556f5120202c73fb87643f3112fca043991
treea24906ba860114345cb44e85df3bb7bc19b95f40
parent7fd7d7274639da4c78790ebb9b737213d2109703
Add/remove error tables in library initialization/termination, not per context.
Use only one library initialization scheme, and install the error tables in
only one place.

* krb5_libinit.c (initialized): Variable deleted, all references removed.
(krb5int_lib_init): Initialize error tables here.
(krb5int_initialize_library): Don't do it here.
* error_tables/Makefile.in (STLIBOBJS, OBJS, SRCS): Drop init_ets code.
* krb/init_ctx.c (init_common): Don't call krb5_init_ets.
(krb5_free_context): Don't call krb5_free_ets.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16388 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ChangeLog
src/lib/krb5/error_tables/ChangeLog
src/lib/krb5/error_tables/Makefile.in
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/init_ctx.c
src/lib/krb5/krb5_libinit.c