Project

General

Profile

Bug #8767 » 0001-io.c-IO.copy_stream-should-write-in-binary-mode.patch

godfat (Lin Jen-Shin), 08/11/2013 03:02 AM

View differences:

io.c
args[1] = INT2NUM(oflags);
args[2] = INT2FIX(0666);
dst_io = rb_class_new_instance(3, args, rb_cFile);
rb_io_binmode_m(dst_io);
stp->dst = dst_io;
stp->close_dst = 1;
}
(1-1/2)