From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11817 invoked from network); 29 Jun 1998 22:41:34 -0000 Received: from man01.cogency.co.uk (HELO mailhost.cogency.co.uk) (195.153.128.51) by mail2.redhat.com with SMTP; 29 Jun 1998 22:41:34 -0000 Received: from cogency.co.uk by mailhost.cogency.co.uk (SMI-8.6/PIPEX simple 1.27) id NAA27026; Mon, 29 Jun 1998 13:36:55 +0100 Sender: dg@cogency.co.uk Message-ID: <35978A0C.48FBB2DC@cogency.co.uk> Date: Mon, 29 Jun 1998 13:35:24 +0100 From: David Alan Gilbert Organization: Cogency Technology Inc X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4m) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: More X patches References: <199806290248.UAA23651@ellpspace.math.ualberta.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Michal Jaegermann wrote: > > > > > The second is what I think larger system problem, as apparently > > the codes in connection.c, and WaitFor.c assume select(2) > > semantics with components of the fd_set's array to have size of > > 32 bits > > >From what I see Xpoll.h header is broken in the first place. > It overrides macros, like FD_ISSET, defined elsewhere in header > files and does that in a manner which is incorrect on Alpha. > Patches by Dave are of a "ho-hum" kind. "1L" happens to work at > this moment but we have seen the same bug before on other occasions > and there is a fd_set typedef to deal cleanly with the issue. Yes I agree. What is the correct (as far as Posix?) place for fd_set etc. ? Incidentally I think you'll have a hard time convincing the X guys that they should change one of their headers. There is a glaring use of a #define where a typedef should be used in one of the headers which can cause havoc; I mailed them about this a few years ago and got a response which basically said that the problem was known about since earlier systems (W?) and that basically they can't change it now if they wanted to because it had gone through standardisation mechanisms. Dave -- ---------------------------------------------------------------------- - Dr. David Alan Gilbert - WARNING! This is a beta release .signature- - Work: dg @ cogency.co.uk - +44-(0)161-428-9444 - - Home: gro.gilbert @ treblig.org - - ----------------------------------------------------------------------