1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/util/charset
Volker Lendecke dee2b958c0 lib: Move get_iconv_handle() call down
We only need this in the slow path. A good compiler might detect this,
but as get_iconv_handle() might have side-effects from a compiler's
point of view, I'm not sure it's legal to skip the call in the fast
path. Might be premature optimization, but it's low hanging fruit :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed by: Ira Cooper <ira@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Mar 23 21:21:15 CET 2015 on sn-devel-104
2015-03-23 21:21:15 +01:00
..
tests lib/util/tests: avoid some compiler warnings 2014-11-14 23:27:04 +01:00
charset_macosxfs.c s3: Fix fn signatures in charset_macosx.c 2011-12-25 13:31:58 +01:00
charset_proto.h s3: Fix fn signatures in charset_macosx.c 2011-12-25 13:31:58 +01:00
charset.h charset: Remove unused strcmp_w() 2012-02-10 16:45:13 +11:00
codepoints.c lib: Simplify load_case_tables_library() 2014-12-08 00:33:06 +01:00
convert_string.c lib/util: Fix typo in comment. 2012-06-15 01:18:08 +02:00
iconv.c lib: Fix blank line endings 2014-12-09 04:12:07 +01:00
pull_push.c lib/util/charset Merge talloc-based pull and push charset functions 2011-04-28 05:30:20 +02:00
util_str.c lib: Move get_iconv_handle() call down 2015-03-23 21:21:15 +01:00
util_unistr_w.c charset: Avoid compiler warnings with --enable-developer 2014-09-19 18:11:11 +02:00
util_unistr.c lib/util/charset Use push_string and talloc_strupper/strlower from common code 2011-05-03 07:37:07 +02:00
weird.c lib/util/charset: remove charset module loading 2011-09-20 06:27:06 +02:00
wscript_build charset: Remove unused iconv_talloc() 2012-02-10 16:45:11 +11:00
wscript_configure lib/util/charset: We do not use fucntions from wchar.h any more 2012-09-26 02:13:10 +02:00