1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* io.c (copy_stream_body): use 0666 for permission argument for open.

[ruby-core:40865]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-11-26 15:18:05 +00:00
parent 0f59228a0b
commit 5f652716ca
2 changed files with 6 additions and 1 deletions

View file

@ -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

2
io.c
View file

@ -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;