summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-08 10:00:06 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-08 10:00:06 +0000
commit4b3644bef769719e2b90c05b719120f27a438c23 (patch)
treee1cb7b3185b6d3a651673983d05f42722d39f4b7
parentc186fdb90bfecb9ecc9a001796a19efca401dc4c (diff)
* ext/dl/cptr.c (rb_dlptr_s_to_ptr): fptr->f was renamed to fd. a
report from Yusuf Celik <ycelik AT oytek.com.tr>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/dl/cptr.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d838a68485..dd95924228 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Aug 8 18:58:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fptr->f was renamed to fd. a
+ report from Yusuf Celik <ycelik AT oytek.com.tr>.
+
Wed Aug 8 15:52:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* enumerator.c (enumerator_next_p): should check correctly even when
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c
index 74a233b527..3be97b272c 100644
--- a/ext/dl/cptr.c
+++ b/ext/dl/cptr.c
@@ -423,7 +423,7 @@ rb_dlptr_s_to_ptr(VALUE self, VALUE val)
#if HAVE_RB_IO_STDIO_FILE
fp = rb_io_stdio_file(fptr);
#else
- fp = fptr->f;
+ fp = fptr->fd;
#endif
return rb_dlptr_new(fp, 0, NULL);
}