mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update documentation for File.executable{,_real}? to mention Windows issues
Fixes [Bug #15664]
This commit is contained in:
parent
801d0d9dd7
commit
c8edf70cd2
1 changed files with 8 additions and 0 deletions
8
file.c
8
file.c
|
@ -1913,6 +1913,10 @@ rb_file_world_writable_p(VALUE obj, VALUE fname)
|
||||||
*
|
*
|
||||||
* Returns <code>true</code> if the named file is executable by the effective
|
* Returns <code>true</code> if the named file is executable by the effective
|
||||||
* user and group id of this process. See eaccess(3).
|
* user and group id of this process. See eaccess(3).
|
||||||
|
*
|
||||||
|
* Windows does not support execute permissions separately from read
|
||||||
|
* permissions. On Windows, a file is only considered executable if it ends in
|
||||||
|
* .bat, .cmd, .com, or .exe.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
@ -1928,6 +1932,10 @@ rb_file_executable_p(VALUE obj, VALUE fname)
|
||||||
*
|
*
|
||||||
* Returns <code>true</code> if the named file is executable by the real
|
* Returns <code>true</code> if the named file is executable by the real
|
||||||
* user and group id of this process. See access(3).
|
* user and group id of this process. See access(3).
|
||||||
|
*
|
||||||
|
* Windows does not support execute permissions separately from read
|
||||||
|
* permissions. On Windows, a file is only considered executable if it ends in
|
||||||
|
* .bat, .cmd, .com, or .exe.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue