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

* io.c (rb_scan_open_args): rb_utf8mac_encoding is undefined.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-29 14:17:34 +00:00
parent 6ab0a79125
commit 46313c96c7
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Sep 29 23:17:32 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_scan_open_args): rb_utf8mac_encoding is undefined.
Tue Sep 29 22:25:41 2009 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h (rb_struct_iv_get): deprecated because it is

2
io.c
View file

@ -5319,7 +5319,7 @@ rb_scan_open_args(int argc, VALUE *argv,
if (rb_usascii_encoding() != fname_encoding
&& rb_ascii8bit_encoding() != fname_encoding
&& rb_utf8_encoding() != fname_encoding
&& rb_utf8mac_encoding() != fname_encoding
&& utf8mac_encoding != fname_encoding
&& fs_encoding != fname_encoding) {
static VALUE fs_enc;
if (!fs_enc)