mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
lazy_initialize_conv: Remove redundant call to init_valid_table,
because init_iconv calls it for us.
init_iconv: Add documentation about how this is reintialized when
configuration is reloaded.
(This used to be commit 0ee80a9018
)
This commit is contained in:
@ -67,14 +67,16 @@ static void lazy_initialize_conv(void)
|
|||||||
initialized = True;
|
initialized = True;
|
||||||
load_case_tables();
|
load_case_tables();
|
||||||
init_iconv();
|
init_iconv();
|
||||||
init_valid_table();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Initialize iconv conversion descriptors.
|
* Initialize iconv conversion descriptors.
|
||||||
**/
|
*
|
||||||
|
* This is called the first time it is needed, and also called again
|
||||||
|
* every time the configuration is reloaded, because the charset or
|
||||||
|
* codepage might have changed.
|
||||||
|
**/
|
||||||
void init_iconv(void)
|
void init_iconv(void)
|
||||||
{
|
{
|
||||||
int c1, c2;
|
int c1, c2;
|
||||||
|
Reference in New Issue
Block a user