Overview
| Artifact ID: | f0a15dafc8e582c62e01acdce1699f67e7639f10 |
|---|---|
| Ticket: | 3588687fffffffffffffffffffffffffffffffff
Tcl_InitStubs() Broken As Designed |
| User & Date: | nijtmans on 2012-12-07 17:12:10 |
Changes
- icomment:
I now turned pkgb.so in core-8-5-branch and trunk into a Tcl9 interoperability test. And closed the "novem-support" branch. Tcl_InitStubs(interp, "8.6 9", 0) unfortunately doesn't work, it leads to a crash. That must be a bug somewhere in tclPkg.c. Luck enough, "8.6-9.1" works, and that's good enough for this test. Now the challenge is that pkgb.so loaded in any Tcl interpreter should either give an error message, either succeed, but never crash. On 32-bit platforms that's no problem: The signature of the used API will at most change some parameters from int to size_t, but they all are the same size. On 64-bit platforms I see no other solution than to change the MAGIC value.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"