1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Export lazy_initialize_conv so that it can be called from

check_dos_char.

init_iconv: Call init_doschar_table when reinitializing conversions.
(This used to be commit d0b2c5d7ba)
This commit is contained in:
Martin Pool 2003-04-04 08:25:05 +00:00
parent 75438592cd
commit 4127c455c8

View File

@ -59,7 +59,7 @@ static const char *charset_name(charset_t ch)
return ret;
}
static void lazy_initialize_conv(void)
void lazy_initialize_conv(void)
{
static int initialized = False;
@ -114,6 +114,10 @@ void init_iconv(void)
}
if (did_reload) {
/* XXX: Does this really get called every time the dos
* codepage changes? */
/* XXX: Is the did_reload test too strict? */
init_doschar_table();
init_valid_table();
}
}