Hello, This patch is quite clever! I've been struggling with 64 bit issue on amd64 and could not solve the drb hang problem cleanly. I'll test this patch monday and will generate patch that works both sparc and amd64. We have be very carefull if SUN will ever change internal FILE structures in 64 bit mode. Maybe we should as nicely if SUN would implemented pending read version for our needs. - Ville |---------+---------------------------> | | Tanaka Akira | | | <akr / m17n.org> | | | | | | 06.01.2006 13:36| | | Please respond | | | to ruby-core | | | | |---------+---------------------------> >-----------------------------------------------------------------------------------------------------------------------------------------------| | | | To: ruby-core / ruby-lang.org | | cc: | | Subject: Re: 64-bit Solaris READ_DATA_PENDING Revisited | >-----------------------------------------------------------------------------------------------------------------------------------------------| In article <86zmmaf96p.fsf / bitty.lumos.us>, Steven Lumos <steven / lumos.us> writes: > Hopefully, this or something like it can find its way in. In the > meantime, please test this if you have access to Solaris! It works for me too on Solaris 8 on SPARC with gcc 4.1.0 20060102 (prerelease). I think it is acceptable that ruby 1.8 incorporate the patch. (ruby 1.9 has different fix already.) However, I guess Solaris on AMD64 needs something different than defined(__sparc). -- Tanaka Akira