From eeb3156ecaef7d5b6ad6be1e57e18d1944f0ef8f Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 19 Oct 2013 10:55:39 +0000 Subject: encoding.c: defer code page table * encoding.c (rb_locale_encindex): defer initialization of win32 code page table until encoding db loaded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/file.c') diff --git a/win32/file.c b/win32/file.c index 444b628e8b..afe1163098 100644 --- a/win32/file.c +++ b/win32/file.c @@ -686,7 +686,7 @@ rb_file_load_ok(const char *path) } void -rb_w32_init_file(void) +Init_w32_codepage(void) { rb_code_page = st_init_numtable(); rb_enc_foreach_name(code_page_i, (st_data_t)rb_code_page); -- cgit v1.2.3