1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Moved Init_encoding from wrong place [Bug #16292]

This commit is contained in:
Nobuyoshi Nakada 2019-11-05 10:28:01 +09:00
parent 30a74aaef0
commit 8869384367
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -1916,12 +1916,6 @@ rb_enc_aliases(VALUE klass)
*
*/
void
Init_encodings(void)
{
rb_enc_init();
}
void
Init_Encoding(void)
{
@ -1967,6 +1961,12 @@ Init_Encoding(void)
rb_marshal_define_compat(rb_cEncoding, Qnil, NULL, enc_m_loader);
}
void
Init_encodings(void)
{
rb_enc_init();
}
/* locale insensitive ctype functions */
void