diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | io.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Nov 27 00:16:07 2011 Tanaka Akira <akr@fsij.org> + + * io.c (copy_stream_body): use 0666 for permission argument for open. + [ruby-core:40865] + Sat Nov 26 23:01:38 2011 Martin Bosslet <Martin.Bosslet@googlemail.com> * test/openssl/test_engine.rb: remove side effect of generic engine @@ -9569,7 +9569,7 @@ copy_stream_body(VALUE arg) FilePathValue(stp->dst); args[0] = stp->dst; args[1] = INT2NUM(oflags); - args[2] = INT2FIX(0600); + args[2] = INT2FIX(0666); dst_io = rb_class_new_instance(3, args, rb_cFile); stp->dst = dst_io; stp->close_dst = 1; |