diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-08 10:00:06 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-08 10:00:06 +0000 |
commit | 4b3644bef769719e2b90c05b719120f27a438c23 (patch) | |
tree | e1cb7b3185b6d3a651673983d05f42722d39f4b7 /ext/dl/cptr.c | |
parent | c186fdb90bfecb9ecc9a001796a19efca401dc4c (diff) | |
download | ruby-4b3644bef769719e2b90c05b719120f27a438c23.tar.gz |
* 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
Diffstat (limited to 'ext/dl/cptr.c')
-rw-r--r-- | ext/dl/cptr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |