Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix #86] invokes the rb_file_writable_real_p() as Kernel.#test(?W, p…

  • Loading branch information...
commit d7e4a89b01d4671d9f2275ce434b7b967414ef03 1 parent 8da1cbf
Watson Watson1978 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  file.c
2  file.c
@@ -3330,7 +3330,7 @@ rb_f_test(VALUE rcv, SEL sel, int argc, VALUE *argv)
return rb_file_writable_p(0, 0, argv[1]);
case 'W':
- return rb_file_world_writable_p(0, 0, argv[1]);
+ return rb_file_writable_real_p(0, 0, argv[1]);
case 'x':
return rb_file_executable_p(0, 0, argv[1]);
Please sign in to comment.
Something went wrong with that request. Please try again.