* dir.c (Init_Dir): dir_foreach() takes variable argument.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-06-17 15:05:50 +00:00
Родитель b2c5258b85
Коммит fcf931c0e5
3 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -1,7 +1,11 @@
Wed Jun 18 00:03:33 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* dir.c (Init_Dir): dir_foreach() takes variable argument.
Tue Jun 17 23:04:24 2008 James Edward Gray II <jeg2@ruby-lang.org>
* lib/net/telnet.rb: Fixing Telnet#wairfor() which was broken by changes to
the Kernel::Integer() method. [ruby-core:17272]
* lib/net/telnet.rb: Fixing Telnet#wairfor() which was broken by
changes to the Kernel::Integer() method. [ruby-core:17272]
Tue Jun 17 23:02:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>

2
dir.c
Просмотреть файл

@ -1939,7 +1939,7 @@ Init_Dir(void)
rb_define_alloc_func(rb_cDir, dir_s_alloc);
rb_define_singleton_method(rb_cDir, "open", dir_s_open, -1);
rb_define_singleton_method(rb_cDir, "foreach", dir_foreach, 1);
rb_define_singleton_method(rb_cDir, "foreach", dir_foreach, -1);
rb_define_singleton_method(rb_cDir, "entries", dir_entries, -1);
rb_define_method(rb_cDir,"initialize", dir_initialize, -1);

Просмотреть файл

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.0"
#define RUBY_RELEASE_DATE "2008-06-17"
#define RUBY_RELEASE_DATE "2008-06-18"
#define RUBY_VERSION_CODE 190
#define RUBY_RELEASE_CODE 20080617
#define RUBY_RELEASE_CODE 20080618
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 6
#define RUBY_RELEASE_DAY 17
#define RUBY_RELEASE_DAY 18
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];