Closed Bug 45683 Opened 24 years ago Closed 24 years ago

Define FD_SETSIZE for Neutrino

Categories

(NSPR :: NSPR, defect, P3)

x86
Neutrino
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(1 file)

We need to define FD_SETSIZE to a larger value such as 4096
before including <sys/select.h> so that fd_set's (for select)
are large enough for big file descriptors.
Jerry, please give my patch a try.
I moved all the select-related header includes
to the front of _nto.h and addded the FD_SETSIZE
#define before them.
wtc,
 Thanks for the checkin your patch works fine.
I checked in the patch.
On the NSPRPUB_CLIENT_BRANCH.
/cvsroot/mozilla/nsprpub/pr/include/md/_nto.h, revision 3.3.22.1
On the NSPRPUB_RELEASE_4_0_BRANCH.
/cvsroot/mozilla/nsprpub/pr/include/md/_nto.h, revision 3.3.8.1
On the main trunk.
/cvsroot/mozilla/nsprpub/pr/include/md/_nto.h, revision 3.6
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: