summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-04 00:48:01 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-04 00:48:01 +0000
commit31b054122c0051daef2c051665014b9b3c84a105 (patch)
tree33506b2f313d075a1e2174c81d195300f49ecb6b
parentd2aa9dd18b5e0672044a21c3fde00eee10cbb258 (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--io.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 821012d9e6..85208c05f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
diff --git a/io.c b/io.c
index 6c9707ab48..39ee4d7c2f 100644
--- a/io.c
+++ b/io.c
@@ -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