From: Takahiro Kambe Date: 2005-09-16T23:08:53+09:00 Subject: [ruby-dev:27116] Re: sizeof(FILE) problem on DragonFlyBSD In message <878xxx6tab.fsf@m17n.org> on Fri, 16 Sep 2005 22:23:10 +0900, Tanaka Akira wrote: > > 要は、__fpending() という関数が用意されているようです。 > > __fpending は 64bit Solaris にもあって、[ruby-code:3766] のが一時期入っ > たんですが、[ruby-core:3796] で cancel されています。 なるほろ。 あと、こんな修正も必要な気がします。 --- io.c.orig 2004-12-25 19:56:39.000000000 +0900 +++ io.c @@ -32,7 +32,7 @@ # define NO_LONG_FNAME #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(sun) || defined(_nec_ews) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(sun) || defined(_nec_ews) # define USE_SETVBUF #endif -- 神戸 隆博 / Takahiro Kambe