Skip to content

Commit

Permalink
[fix #86] invokes the rb_file_writable_real_p() as Kernel.#test(?W, p…
Browse files Browse the repository at this point in the history
…ath)
  • Loading branch information
Watson1978 committed May 22, 2012
1 parent 8da1cbf commit d7e4a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file.c
Expand Up @@ -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]);
Expand Down

0 comments on commit d7e4a89

Please sign in to comment.