summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--dir.c2
-rw-r--r--version.h6
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b29692..aa1c41a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Apr 6 09:45:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * dir.c (dir_tell): check if closed. [ruby-core:16223]
+
Sat Apr 5 10:05:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* object.c (rb_check_to_integer): backported for range_step.
diff --git a/dir.c b/dir.c
index b61e7c1..b6e1976 100644
--- a/dir.c
+++ b/dir.c
@@ -592,7 +592,7 @@ dir_tell(dir)
struct dir_data *dirp;
long pos;
- Data_Get_Struct(dir, struct dir_data, dirp);
+ GetDIR(dir, dirp);
pos = telldir(dirp->dir);
return rb_int2inum(pos);
#else
diff --git a/version.h b/version.h
index ea65caf..1e7e257 100644
--- a/version.h
+++ b/version.h
@@ -1,7 +1,7 @@
#define RUBY_VERSION "1.8.6"
-#define RUBY_RELEASE_DATE "2008-04-05"
+#define RUBY_RELEASE_DATE "2008-04-06"
#define RUBY_VERSION_CODE 186
-#define RUBY_RELEASE_CODE 20080405
+#define RUBY_RELEASE_CODE 20080406
#define RUBY_PATCHLEVEL 5000
#define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 6
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 4
-#define RUBY_RELEASE_DAY 5
+#define RUBY_RELEASE_DAY 6
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];