Artifacts Associated With Ticket 419528ffffffffff
Ticket change [411961b13f] (rid 116123) by nobody on 2001-04-27 16:38:07:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I had a problem with porting tcl to a Cray machine. The code at lines 197, 242-245 in tclIndexObj.c assumes a byte addressable machine. It casts a pointer to (size_t) and then adds a byte count to come up with a (char**). This only works on a byte addressable machine. It should be casting to (char*) instead of (size_t) since it is adding a number of characters. I also had a problem with tk routine tkUnixFont.c at line 41. #define FONTMAP_PAGES \ (1 << (sizeof(Tcl_UniChar)*8 - FONTMAP_SHIFT)) There is an implicit assumption that sizeof(Tcl_UniChar) is 2 bytes. On a Cray it is 8 bytes, so that FONTMAP_PAGES becomes a huge number, which is used to define the size of an array in structure FontFamily. My work around was to hardcode a 2 for sizeof(Tcl_UniChar). I believe these problems are in the 8.4 versions also. Clay Andreasen ([email protected]) - foundin initialized to: "obsolete: 8.3.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "Non portable code in tclIndexObj.c"
- type initialized to: "Bug"
Ticket change [37100b8e54] (rid 107211) by dgp on 2001-04-28 07:40:05:
- subsystem changed to: "13. Index Object"
Ticket change [dcd8f3dbd3] (rid 114554) by dgp on 2001-04-28 07:40:06:
- icomment:
Logged In: YES user_id=80530 Assigning to the Index Object category. The Tk bug should be reported to the Tk project. http://sourceforge.net/projects/tktoolkit/
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [64af90267a] (rid 92810) by msofer on 2001-08-14 06:08:30:
- icomment:
Logged In: YES user_id=148712 Is the enclosed patch what is requested? It runs OK with gcc/linux/i386.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Add attachment "patch419528.txt" [86aac23cce] (rid 131554) by msofer on 2001-08-14 06:08:30.
Ticket change [4f1a3d484e] (rid 125768) by msofer on 2001-08-14 06:08:31:
- icomment:
File Added - 9498: patch419528.txt
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [7a2a9408ef] (rid 90259) by msofer on 2001-08-30 21:52:18:
- assignee changed to: "nijtmans"
- icomment:
Logged In: YES user_id=148712 Clay tells me that the enclosed patch solves his tcl problem, and that he did report the tk bug to the tktoolkit project. Jan: would you care to take it from here?
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [88855b54bf] (rid 131878) by hobbs on 2001-08-31 01:14:45:
- assignee changed to: "hobbs"
Ticket change [da7a333acb] (rid 107796) by hobbs on 2001-08-31 01:58:43:
- closedate changed to: "2001-08-30T18:58:43"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 applied to 8.3.3+ and 8.4a4cvs.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"
Ticket change [b2f6a5eeae] (rid 98433) by hobbs on 2001-08-31 02:15:44:
- closedate changed to: "2001-08-30T19:15:44"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 FWIW, these were change to size_t from long before, and this patch changed that to (char *).
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"