Bug 786

Summary: make XFD_* macros respect FD_SETSIZE
Product: xorg Reporter: Alexander Gottwald <ago>
Component: Lib/XlibAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: roland.mainz
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 777    
Attachments:
Description Flags
new XFD_* macros none

Description Alexander Gottwald 2004-06-21 08:29:37 UTC
The old macros assumed that FD_SETSIZE is at least 256. This caused problems
with cygwin where FD_SETSIZE is defined as 64. The new macros respect FD_SETSIZE
and only access the fd_set fields which are present.
Comment 1 Alexander Gottwald 2004-06-21 08:30:11 UTC
Created attachment 400 [details] [review]
new XFD_* macros

I'll commit on friday if there are no objections
Comment 2 Alexander Gottwald 2004-06-25 02:15:50 UTC
/cvs/xorg/xc/include/Xpoll.h,v  <--  Xpoll.h
new revision: 1.4; previous revision: 1.3

marked as fixed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.