diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-02-18 13:59:05 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-02-18 09:29:35 +0100 |
commit | 1ad8e5229f618fc04af371ba52b81f2e7e1f88f5 (patch) | |
tree | 691e7f9788fe4c5f2a8e21af7c88d4525813aedb /lib/util/charset/charset.h | |
parent | 2a3a86a86f3d1ab97adda563beda7ee35f6a2414 (diff) | |
download | samba-1ad8e5229f618fc04af371ba52b81f2e7e1f88f5.tar.gz samba-1ad8e5229f618fc04af371ba52b81f2e7e1f88f5.tar.bz2 samba-1ad8e5229f618fc04af371ba52b81f2e7e1f88f5.zip |
lib/util/charset Add back setlocale(), but only when called from binaries
When called from a library, we don't want to call this, as we may
overwrite some of our calling program's context.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/util/charset/charset.h')
-rw-r--r-- | lib/util/charset/charset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/charset/charset.h b/lib/util/charset/charset.h index b4a5a55461..474d77e54e 100644 --- a/lib/util/charset/charset.h +++ b/lib/util/charset/charset.h @@ -223,6 +223,7 @@ smb_iconv_t smb_iconv_open_ex(TALLOC_CTX *mem_ctx, const char *tocode, const char *fromcode, bool native_iconv); void load_case_tables(void); +void load_case_tables_library(void); bool smb_register_charset(const struct charset_functions *funcs_in); /* |