* io.c (rb_scan_open_args): follow rb_str_transcode change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-09-04 00:48:01 +00:00
parent d2aa9dd18b
commit 31b054122c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Thu Sep 4 09:46:18 2008 Tanaka Akira <akr@fsij.org>
* io.c (rb_scan_open_args): follow rb_str_transcode change.
Thu Sep 4 08:59:29 2008 Tanaka Akira <akr@fsij.org>
* file.c (rb_find_file): fix GC problem on Debian GNU/Linux (IA64)

2
io.c
View File

@ -4606,7 +4606,7 @@ rb_scan_open_args(int argc, VALUE *argv,
static VALUE fs_enc;
if (!fs_enc)
fs_enc = rb_enc_from_encoding(fs_encoding);
fname = rb_str_transcode(fname, fs_enc, 0);
fname = rb_str_transcode(fname, fs_enc, 0, Qnil);
}
}
#endif