Overview
| Artifact ID: | 5ff76d6cf3be1b720db91f193c5ec229465d6e15 |
|---|---|
| Ticket: | 749448ffffffffffffffffffffffffffffffffff
can't find the encoding/ directory on Linux |
| User & Date: | nobody on 2003-06-05 10:13:10 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
Here is how to hack the tclEncoding.c: /* Tcl_ListObjGetElements(NULL, pathPtr, &objc, &objv); chan = NULL; for (i = 0; i < objc; i++) { chan = OpenEncodingFile(Tcl_GetString(objv[i]), name); if (chan != NULL) { break; } } */ chan = OpenEncodingFile("/usr/local/lib/tcl8.4", name); (:)))))))))))))))))))))))))))))) Debugging with gdb gets the following result: in Tcl_GetStringFromObj the first ptr is checked if (objPtr->bytes == NULL); well, it isn't, but the string is empty -- (the second, third ... are ok - the desired catalog is in the seventh) hence it's empty - we get zero length in: string = Tcl_GetStringFromObj(objPtr, &length); That's it. ------ --alex - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "36. Pathname Management"
- title changed to: "can't find the encoding/ directory on Linux"
- type changed to: "Bug"