r2638: do lazy initialisation of iconv handles, so we don't initialise a
authorAndrew Tridgell <tridge@samba.org>
Sun, 26 Sep 2004 01:08:29 +0000 (01:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:15 +0000 (12:59 -0500)
commit4a1d53a07a5bb1b5a5c73eceb173225924a71ef5
tree70fa01170de0de6cbc67495757476b7e6c3fb3bc
parent159f81ee32dbd7c832fb8c3723d0f0207d039078
r2638: do lazy initialisation of iconv handles, so we don't initialise a
handle unless we use it. This saves quite a bit of memory (libc chews
a lot loading a handle). Typically smbd now loads 3 handles, instead
of 36.
(This used to be commit 60e8d154fda548862cd6f8e8c1dadd64b3c4bd9c)
source4/lib/charcnv.c