Ian Lance Taylor <[email protected]> writes:
> Thanks. I'm going to try gambling that every uses the type "long" for
> the fds_bits array. If so, I think this patch will work. Bootstrapped
> and ran Go testsuite on x86_64-unknown-linux-gnu (forcing the use of
> select). Committed to mainline.
I fear you lost ;-)
* On Solaris, it's always long (i.e. either 32 or 64-bit).
* On IRIX 6.5, it's long for 32-bit and int for 64-bit (i.e. always
32-bit), while 64-bit long is 64-bit.
* On Tru64 UNIX V5.1, it's always int (i.e. 32-bit), while long is
64-bit.
This has to be system-dependent, I fear.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University