Artifacts Associated With Ticket 488972ffffffffff
Ticket change [bfe6f083cf] (rid 102325) by guymaor on 2001-12-04 17:31:25:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The code which builds up the fd_set's for select() isn't 64 bit safe. (long is 64 bits, and int is 32 bits) If you have a fd >= 32, the wrong bit gets set. I've attached a suggested patch.
- foundin initialized to: "obsolete: 8.3.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "guymaor"
- subsystem initialized to: "25. Channel System"
- title initialized to: "64 bit bug in tclUnixNotfy.c"
- type initialized to: "Bug"
Add attachment "patch" [fb8479985a] (rid 92078) by guymaor on 2001-12-05 00:31:26.
Ticket change [3b44c824cd] (rid 112705) by guymaor on 2001-12-05 00:31:27:
- icomment:
File Added - 14163: patch
- login: "guymaor"
- mimetype: "text/plain"
- username: "guymaor"
- icomment:
Ticket change [25f4884fa9] (rid 88252) by andreas_kupries on 2001-12-07 04:00:53:
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=75003 Donal, please check this against your 64bit branch if that truly fixes problems for 64 bit machines. Is "fd_mask" a type on which existence we can rely on ?
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
Ticket change [4703a757ba] (rid 99614) by dkf on 2001-12-07 22:31:44:
- assignee changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=79902 fd_mask is not reliably available on Solaris (i.e. in strict XPG4.2 mode it's not there.) Instead, we should be using an array of 'fd_set's, each of which is large enough on all (Solaris) platforms, and FD_SET, FD_CLEAR, FD_ISSET and FD_ZERO are macros that should be used to manipulate instances of fd_sets. fds_mask *is* always defined, BTW, but isn't necessarily as portable. None of this means anything for anywhere except Solaris (but the Linux box I have convenient access to doesn't provide fds_mask, and provides fd_mask, fd_set, and FD_* access macros.)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [49db07726b] (rid 100112) by andreas_kupries on 2001-12-12 01:02:42:
- closedate changed to: "2001-12-11T18:02:42"
- closer changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=75003 May I ask the original submitter to submit a patch based on Donal's idea of using fd_set ?
- login: "andreas_kupries"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "andreas_kupries"