* 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:
parent
d2aa9dd18b
commit
31b054122c
@ -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>
|
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)
|
* file.c (rb_find_file): fix GC problem on Debian GNU/Linux (IA64)
|
||||||
|
2
io.c
2
io.c
@ -4606,7 +4606,7 @@ rb_scan_open_args(int argc, VALUE *argv,
|
|||||||
static VALUE fs_enc;
|
static VALUE fs_enc;
|
||||||
if (!fs_enc)
|
if (!fs_enc)
|
||||||
fs_enc = rb_enc_from_encoding(fs_encoding);
|
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
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user