From 4b3644bef769719e2b90c05b719120f27a438c23 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 8 Aug 2007 10:00:06 +0000 Subject: [PATCH] * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fptr->f was renamed to fd. a report from Yusuf Celik . git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/dl/cptr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fptr->f was renamed to fd. a + report from Yusuf Celik . + Wed Aug 8 15:52:01 2007 Yukihiro Matsumoto * 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); }