ruby-changes:39753
From: hsbt <ko1@a...>
Date: Sat, 12 Sep 2015 16:14:43 +0900 (JST)
Subject: [ruby-changes:39753] hsbt:r51834 (trunk): * file.c: access()/eaccess() wrapping methods check more than just uid.
hsbt 2015-09-12 16:14:38 +0900 (Sat, 12 Sep 2015) New Revision: 51834 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51834 Log: * file.c: access()/eaccess() wrapping methods check more than just uid. [fix GH-1007][ci skip] Patch by @eam Modified files: trunk/ChangeLog trunk/file.c Index: ChangeLog =================================================================== --- ChangeLog (revision 51833) +++ ChangeLog (revision 51834) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Sep 12 16:14:31 2015 SHIBATA Hiroshi <hsbt@r...> + + * file.c: access()/eaccess() wrapping methods check more than just uid. + [fix GH-1007][ci skip] Patch by @eam + Sat Sep 12 16:07:01 2015 SHIBATA Hiroshi <hsbt@r...> * README.md: improve markdown rendering for readable. Index: file.c =================================================================== --- file.c (revision 51833) +++ file.c (revision 51834) @@ -1556,7 +1556,7 @@ rb_file_exists_p(VALUE obj, VALUE fname) https://github.com/ruby/ruby/blob/trunk/file.c#L1556 * File.readable?(file_name) -> true or false * * Returns <code>true</code> if the named file is readable by the effective - * user id of this process. + * user and group id of this process. See eaccess(3). */ static VALUE @@ -1573,7 +1573,7 @@ rb_file_readable_p(VALUE obj, VALUE fnam https://github.com/ruby/ruby/blob/trunk/file.c#L1573 * File.readable_real?(file_name) -> true or false * * Returns <code>true</code> if the named file is readable by the real - * user id of this process. + * user and group id of this process. See access(3). */ static VALUE @@ -1628,7 +1628,7 @@ rb_file_world_readable_p(VALUE obj, VALU https://github.com/ruby/ruby/blob/trunk/file.c#L1628 * File.writable?(file_name) -> true or false * * Returns <code>true</code> if the named file is writable by the effective - * user id of this process. + * user and group id of this process. See eaccess(3). */ static VALUE @@ -1645,7 +1645,7 @@ rb_file_writable_p(VALUE obj, VALUE fnam https://github.com/ruby/ruby/blob/trunk/file.c#L1645 * File.writable_real?(file_name) -> true or false * * Returns <code>true</code> if the named file is writable by the real - * user id of this process. + * user and group id of this process. See access(3) */ static VALUE @@ -1692,7 +1692,7 @@ rb_file_world_writable_p(VALUE obj, VALU https://github.com/ruby/ruby/blob/trunk/file.c#L1692 * File.executable?(file_name) -> true or false * * Returns <code>true</code> if the named file is executable by the effective - * user id of this process. + * user and group id of this process. See eaccess(3). */ static VALUE @@ -1709,7 +1709,7 @@ rb_file_executable_p(VALUE obj, VALUE fn https://github.com/ruby/ruby/blob/trunk/file.c#L1709 * File.executable_real?(file_name) -> true or false * * Returns <code>true</code> if the named file is executable by the real - * user id of this process. + * user and group id of this process. See access(3). */ static VALUE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/