summaryrefslogtreecommitdiff
path: root/win32/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-19 10:55:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-19 10:55:39 +0000
commiteeb3156ecaef7d5b6ad6be1e57e18d1944f0ef8f (patch)
tree0438d889ce0550308d38b9ab7da9217c2605e20d /win32/file.c
parent6bf78ee633038d8de428996f133cd54f73cfd602 (diff)
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
Diffstat (limited to 'win32/file.c')
-rw-r--r--win32/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/file.c b/win32/file.c
index 444b628e8b6..afe1163098e 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);