Permalink
Browse files

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

…ath)
  • Loading branch information...
1 parent 8da1cbf commit d7e4a89b01d4671d9f2275ce434b7b967414ef03 @Watson1978 Watson1978 committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 file.c
View
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]);

0 comments on commit d7e4a89

Please sign in to comment.