[前][次][番号順一覧][スレッド一覧]

ruby-changes:21802

From: akr <ko1@a...>
Date: Sun, 27 Nov 2011 00:18:15 +0900 (JST)
Subject: [ruby-changes:21802] akr:r33851 (trunk): * io.c (copy_stream_body): use 0666 for permission argument for open.

akr	2011-11-27 00:18:05 +0900 (Sun, 27 Nov 2011)

  New Revision: 33851

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33851

  Log:
    * io.c (copy_stream_body): use 0666 for permission argument for open.
      [ruby-core:40865]

  Modified files:
    trunk/ChangeLog
    trunk/io.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33850)
+++ ChangeLog	(revision 33851)
@@ -1,3 +1,8 @@
+Sun Nov 27 00:16:07 2011  Tanaka Akira  <akr@f...>
+
+	* 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@g...>
 
 	* test/openssl/test_engine.rb: remove side effect of generic engine
Index: io.c
===================================================================
--- io.c	(revision 33850)
+++ io.c	(revision 33851)
@@ -9569,7 +9569,7 @@
             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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]