1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2007-08-08 10:00:06 +00:00
parent c186fdb90b
commit 4b3644bef7
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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);
}