Overview
| Artifact ID: | fe99133ff0273ca39cc961d88ec128df8776da96 |
|---|---|
| Ticket: | 1071807fffffffffffffffffffffffffffffffff
select() loop notifys wrong fd's |
| User & Date: | eyekode on 2004-11-23 15:42:01 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
On Sun 64 platforms the math for calculating the fd_set bit is wrong. tclUnixNotfy.c:443 bit = 1 << (fd%(NBBY*sizeof(fd_mask))); sizeof(fd_mask) is 8, but sizeof(1) is 4. The easiest fix for this is to change bit && "1" to unsigned long. Note: this code pattern is copy/pasted throughout this file, and all places need to be fixed. However, out of curiosity, why aren't we using FD_SET/ISSET etc?
- foundin changed to: "obsolete: 8.4.8"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "eyekode"
- subsystem changed to: "01. Notifier"
- title changed to: "select() loop notifys wrong fd's"
- type changed to: "Bug"