1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* file.c (Init_File): method definition mismatch.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-05-18 16:04:22 +00:00
parent dcb9f150e5
commit 62b3932c9c
3 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,7 @@
Sat May 19 01:05:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (Init_File): method definition mismatch.
Fri May 18 16:44:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (Init_File): add to_path method to File objects.

4
file.c
View file

@ -4346,9 +4346,9 @@ Init_File(void)
define_filetest_function("exist?", rb_file_exist_p, 1);
define_filetest_function("readable?", rb_file_readable_p, 1);
define_filetest_function("readable_real?", rb_file_readable_real_p, 1);
define_filetest_function("world_readable?", rb_file_world_writable_p, 1);
define_filetest_function("world_readable?", rb_file_world_readable_p, 1);
define_filetest_function("writable?", rb_file_writable_p, 1);
define_filetest_function("writable_real?", rb_file_world_writable_p, 1);
define_filetest_function("writable_real?", rb_file_writable_real_p, 1);
define_filetest_function("world_writable?", rb_file_world_writable_p, 1);
define_filetest_function("executable?", rb_file_executable_p, 1);
define_filetest_function("executable_real?", rb_file_executable_real_p, 1);

View file

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.0"
#define RUBY_RELEASE_DATE "2007-05-18"
#define RUBY_RELEASE_DATE "2007-05-19"
#define RUBY_VERSION_CODE 190
#define RUBY_RELEASE_CODE 20070518
#define RUBY_RELEASE_CODE 20070519
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2007
#define RUBY_RELEASE_MONTH 5
#define RUBY_RELEASE_DAY 18
#define RUBY_RELEASE_DAY 19
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];