mirror of
https://github.com/samba-team/samba.git
synced 2025-07-29 15:42:04 +03:00
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
This commit is contained in:
@ -68,7 +68,7 @@ NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
|
||||
frame = talloc_stackframe();
|
||||
|
||||
/* Case tables must be loaded before any string comparisons occour */
|
||||
load_case_tables();
|
||||
load_case_tables_library();
|
||||
|
||||
/* When libnetapi is invoked from an application, it does not
|
||||
* want to be swamped with level 10 debug messages, even if
|
||||
|
Reference in New Issue
Block a user