Artifacts Associated With Ticket 767578ffffffffff
Ticket change [f4803daba8] (rid 129930) by nobody on 2003-07-08 06:27:42:
- assignee initialized to: "nijtmans"
- cmimetype initialized to: "text/plain"
- comment initialized to:
From [email protected] Seen in 8.4.3 The use of vars. "found" and "word" in NotifierThreadProc() in tclUnixNotfy.c shall be long, not int, as they are used to hold long values in the select tests. This error results in the select spinning if int and long is not the same size. First seen on HP-UX 11i running Tcl/Tk in 64 bit mode.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "02. Event Loops"
- title initialized to: "NotifierThreadProc is spinning on 64 bit machine"
- type initialized to: "Bug"
Ticket change [c95485b4ff] (rid 122264) by henninggodske on 2003-07-08 13:45:57:
- icomment:
Logged In: YES user_id=818072 The code change needed ín tcl8.4.3/unix/tclUnixNotfy.c is: 865c865,866 < int i, status, index, bit, numFdBits, found, receivePipe, word; --- > int i, status, index, bit, numFdBits, receivePipe; > long found, word;
- login: "henninggodske"
- mimetype: "text/plain"
- username: "henninggodske"
- icomment:
Ticket change [265ea40820] (rid 88331) by dkf on 2003-07-08 15:53:31:
- foundin changed to: "obsolete: 8.4.3"
- icomment:
Logged In: YES user_id=79902 Any reason not to declare those variables as fd_mask instead? That's the official type of the members of the array that they are manipulating... In fact, I think those variables ought to be declared much closer to where they are used (somewhere around line 971) but that's just a general stylistic point.
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "dkf"
Ticket change [ae14691045] (rid 101575) by hobbs on 2003-07-09 02:24:22:
- assignee changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 I believe going with the proper type is best. Is there a particular test I can use to verify this (although logically it is clear ... tests are always nice).
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
Ticket change [b7a98e6f24] (rid 125641) by henninggodske on 2003-07-09 12:56:10:
- icomment:
Logged In: YES user_id=818072 The bug was not found using Tcl/Tk tests, but when imbedding Tk into another application on a HP-UX 11i. The Tcl part runs OK, but it started spinning when the main Tk window was raised, because on the HP platform this sets a bit in the high-end of the select mask. The same code was running without any problems on Tru64 UNIX and on Solaris. So I don't have at test, except that the fix worked on HP-UX and did not break anything on Tru64 and Solaris.
- login: "henninggodske"
- mimetype: "text/plain"
- username: "henninggodske"
- icomment:
Ticket change [db37a272b8] (rid 107922) by hobbs on 2003-07-17 05:10:51:
- closedate changed to: "2003-07-16T22:10:51"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 corrected for 8.4.4 and 8.5a
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"