[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: irc 2.11.0 fdopen bug



On Sun, Feb 13, 2005 at 09:16:34PM -0800, Chris Behrens wrote:
> 
> Hi,
> 
> Your patch will not work, either.  The limitiation is in Solaris's use of
> a 'char' for 'fd' in the FILE struct.  That means even fopen() cannot be
> used when fds 0-255 are already in use.  The quickest kludge is to do
> something like this, instead:

BTW, I should mention that Sun fixed this when you compile 64-bit.  IIRC,
they changed 'fd' to a 32bit integer in that case.  They couldn't change 
'FILE' with 32bit compiles without breaking a ton of things.

So, another workaround is to attempt to compile ircd 64-bit.

- Chris