[quake3-bugzilla] [Bug 4073] New: select() doesn't use highestfd as first argument

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Fri Jun 5 13:14:56 EDT 2009


http://bugzilla.icculus.org/show_bug.cgi?id=4073

           Summary: select() doesn't use highestfd as first argument
           Product: ioquake3
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: bugzilla at benmachine.co.uk
         QAContact: quake3-bugzilla at icculus.org


Created an attachment (id=2073)
 --> (http://bugzilla.icculus.org/attachment.cgi?id=2073)
nfds set to highestfd + 1

This one's pretty straightforward. The first argument of select() is supposed
to be the max file descriptor being watched + 1. To this end, int highestfd is
declared and set, but the actual select() call doesn't use it.

git format-patch attached.

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list