mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Rename setlocale,bindtextdomain,textdomain to ldap_pvt_<function> (ITS#2513).
#include "ldap_defaults.h" to get LDAP_LOCALEDIR.
This commit is contained in:
parent
b7e6be414d
commit
6fab51e339
@ -18,6 +18,7 @@
|
||||
#include <ldap.h>
|
||||
|
||||
#include "lutil_ldap.h"
|
||||
#include "ldap_defaults.h"
|
||||
|
||||
#include "common.h"
|
||||
|
||||
@ -59,9 +60,9 @@ char *prog = NULL;
|
||||
void
|
||||
tool_init( void )
|
||||
{
|
||||
setlocale(LC_MESSAGES,"");
|
||||
bindtextdomain(OPENLDAP_PACKAGE, LDAP_LOCALEDIR);
|
||||
textdomain(OPENLDAP_PACKAGE);
|
||||
ldap_pvt_setlocale(LC_MESSAGES, "");
|
||||
ldap_pvt_bindtextdomain(OPENLDAP_PACKAGE, LDAP_LOCALEDIR);
|
||||
ldap_pvt_textdomain(OPENLDAP_PACKAGE);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user