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:
parent
c186fdb90b
commit
4b3644bef7
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
Wed Aug 8 15:52:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* enumerator.c (enumerator_next_p): should check correctly even when
|
* enumerator.c (enumerator_next_p): should check correctly even when
|
||||||
|
|
|
@ -423,7 +423,7 @@ rb_dlptr_s_to_ptr(VALUE self, VALUE val)
|
||||||
#if HAVE_RB_IO_STDIO_FILE
|
#if HAVE_RB_IO_STDIO_FILE
|
||||||
fp = rb_io_stdio_file(fptr);
|
fp = rb_io_stdio_file(fptr);
|
||||||
#else
|
#else
|
||||||
fp = fptr->f;
|
fp = fptr->fd;
|
||||||
#endif
|
#endif
|
||||||
return rb_dlptr_new(fp, 0, NULL);
|
return rb_dlptr_new(fp, 0, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue