diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-04 00:48:01 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-04 00:48:01 +0000 |
| commit | 9914ee8157591393a4098ff9e96bce578d952365 (patch) | |
| tree | 33506b2f313d075a1e2174c81d195300f49ecb6b | |
| parent | 02b2da4af9b9163c8bf22968c306555a657c7293 (diff) | |
| download | ruby-9914ee8157591393a4098ff9e96bce578d952365.tar.gz ruby-9914ee8157591393a4098ff9e96bce578d952365.tar.xz ruby-9914ee8157591393a4098ff9e96bce578d952365.zip | |
* io.c (rb_scan_open_args): follow rb_str_transcode change.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | io.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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) @@ -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 |
