Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Onno Hovers <onno@surfer.xs4all.nl>
Subject: Re: Wich Red Hat version should I Buy ???
Date: 1997/12/21	[thread overview]
Message-ID: <67hqml$2kh$1@surfer.xs4all.nl> (raw)
In-Reply-To: ugpvn1rp7t.fsf@panda.mostang.com


David.Mosberger@DONTSPAMacm.org wrote:
> While I generally agree with this sentiment, there is one relatively
> serious glibc 2.x bug that bites rh5.0: the glibc version shipped with
> rh5.0 has an FDMASK macro that is broken.  The effect is that if you
> try to use fd_sets with file descriptors >31 then things may go
> awfully wrong.  E.g., XF86_TGA terminates with extreme prejudice when
> trying to open more than ~30 windows.  More important, emacs seems to
> get stuck randomly due to this bug.  The following two changes should
> be made to fix the problem:

> > <gnu/types.h>:
> > 
> > old: #define __FDMASK(d)     (1 << ((d) % __NFDBITS))
> > new: #define __FDMASK(d)     ((__fd_mask) 1 << ((d) % __NFDBITS))
> > 
> > <selectbits.h>:
> > 
> > old: #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d))
> > new: #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0)

This does not fix (or even change) anything. You probably do not even know
what these macros are doing.

Regards, Onno
-- 
< >-> Onno Hovers (onno@stack.nl http://www.stack.nl/~onno/)
Student physics at the University of Technology Eindhoven
No, I do not want ANY unsollicited bulk e-mail



  parent reply	other threads:[~1997-12-21  5:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-12  5:00 Wich Red Hat version should I Buy ??? JaNuS
1997-12-12  5:00 ` Greg Lindahl
1997-12-12  5:00 ` Andy Isaacson
1997-12-13  5:00   ` David.Mosberger
1997-12-14  5:00     ` Michal Jaegermann
1997-12-14  5:00     ` Alvin Brattli
1997-12-16  5:00       ` David.Mosberger
1997-12-21  5:00     ` Onno Hovers [this message]
1997-12-12  5:00 ` warp
1997-12-12  5:00   ` Clemens Vonrhein
1997-12-12  5:00     ` warp
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox