summaryrefslogtreecommitdiffstats
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
commit2661e58b30e8b31a9237f82e4a8108b22cdd78a9 (patch)
treee1cb7b3185b6d3a651673983d05f42722d39f4b7
parent7c9129e35d7b55e5fe2607f087fde36f5b4cc48f (diff)
downloadruby-2661e58b30e8b31a9237f82e4a8108b22cdd78a9.tar.gz
ruby-2661e58b30e8b31a9237f82e4a8108b22cdd78a9.tar.xz
ruby-2661e58b30e8b31a9237f82e4a8108b22cdd78a9.zip
* 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: http://svn.ruby-lang.org/repos/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 d838a6848..dd9592422 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 74a233b52..3be97b272 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);
}