summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 15:05:50 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 15:05:50 +0000
commitfcf931c0e5992bb7fbb7b8b18ce78bb2cd899cf8 (patch)
treefb111f060a498edc84eb0bc1b31878c2ab98d275
parentb2c5258b854e6a19306300428718d5c83303a85b (diff)
* 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
-rw-r--r--ChangeLog8
-rw-r--r--dir.c2
-rw-r--r--version.h6
3 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 0faa7067bd..9eccd7e35b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/dir.c b/dir.c
index e398568076..d7e61a2a01 100644
--- a/dir.c
+++ b/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);
diff --git a/version.h b/version.h
index 5212b7c96c..dc19ee6745 100644
--- a/version.h
+++ b/version.h
@@ -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[];