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

* ext/dl/dl.c (rb_io_to_ptr): fix DragonFlyBSD support.

[ruby-dev:27151]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2005-09-19 09:38:40 +00:00
parent fddfc0be02
commit 658788f7b7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Sep 19 18:35:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/dl/dl.c (rb_io_to_ptr): fix DragonFlyBSD support.
[ruby-dev:27151]
Mon Sep 19 14:17:04 2005 Minero Aoki <aamine@loveruby.net>
* ext/syck/emitter.c (syck_emit): passing an int* value to the

View file

@ -558,7 +558,7 @@ rb_io_to_ptr(VALUE self)
fp = fptr->f;
#if defined(__DragonFly__)
return fp ? rb_dlptr_new(fp, 1, 0) : Qnil;
return fp ? rb_dlptr_new(fp, 0, 0) : Qnil;
#else
return fp ? rb_dlptr_new(fp, sizeof(FILE), 0) : Qnil;
#endif