[macruby-changes] [2872] MacRuby/trunk/io.c
source_changes at macosforge.org
source_changes at macosforge.org
Tue Oct 20 17:38:19 PDT 2009
Revision: 2872
http://trac.macosforge.org/projects/ruby/changeset/2872
Author: lsansonetti at apple.com
Date: 2009-10-20 17:38:16 -0700 (Tue, 20 Oct 2009)
Log Message:
-----------
fixed a bug in Kernel#open when the given file was opened twice
Modified Paths:
--------------
MacRuby/trunk/io.c
Modified: MacRuby/trunk/io.c
===================================================================
--- MacRuby/trunk/io.c 2009-10-21 00:18:15 UTC (rev 2871)
+++ MacRuby/trunk/io.c 2009-10-21 00:38:16 UTC (rev 2872)
@@ -2296,7 +2296,6 @@
rb_f_open(VALUE klass, SEL sel, int argc, VALUE *argv)
{
VALUE io = rb_class_new_instance(argc, argv, rb_cFile);
- io = rb_file_open(io, argc, argv);
if (rb_block_given_p()) {
return rb_ensure(f_open_body, io, f_open_ensure, io);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091020/49229577/attachment.html>
More information about the macruby-changes
mailing list