Bug 786 - make XFD_* macros respect FD_SETSIZE
Summary: make XFD_* macros respect FD_SETSIZE
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 777
  Show dependency treegraph
 
Reported: 2004-06-21 08:29 UTC by Alexander Gottwald
Modified: 2004-06-24 09:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
new XFD_* macros (4.57 KB, patch)
2004-06-21 08:30 UTC, Alexander Gottwald
no flags Details | Splinter Review

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.