]> git.ipfire.org Git - thirdparty/krb5.git/commit
Allow using locales when gettext is absent
authorBen Kaduk <kaduk@mit.edu>
Fri, 6 Jul 2012 19:45:20 +0000 (15:45 -0400)
committerBen Kaduk <kaduk@mit.edu>
Fri, 6 Jul 2012 20:34:28 +0000 (16:34 -0400)
commit7afeca0d0f821e12298d6987a9d1cd65be7539b0
tree149904f35e11c07132b960eaa2f604b4ed5b542a
parenta7a0fb374869e77b380e658fa698622f1adcdbe4
Allow using locales when gettext is absent

Previously, if configure did not detect dgettext(), we disabled
anything that smelled like localization, inadvertently including
setlocale().  Now that we use setlocale(LC_ALL, ""), we have
localized dates available as well as messages, so we should not
disable calls to setlocale() any more.
Since the routines from locale.h are only used in a relatively
small number of places, just include the header directly in those
files and remove it from k5-platform.h.
16 files changed:
src/clients/kdestroy/kdestroy.c
src/clients/kinit/kinit.c
src/clients/klist/klist.c
src/clients/kpasswd/kpasswd.c
src/clients/kswitch/kswitch.c
src/clients/kvno/kvno.c
src/include/k5-platform.h
src/kadmin/cli/ss_wrapper.c
src/kadmin/dbutil/kdb5_util.c
src/kadmin/ktutil/ktutil.c
src/kadmin/server/ovsec_kadmd.c
src/kdc/main.c
src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
src/slave/kprop.c
src/slave/kpropd.c
src/slave/kproplog.c