summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}