Overview
| Artifact ID: | cbb28d1f2e5604cdda3dc8625c4f597af995aa2b |
|---|---|
| Ticket: | 1578344fffffffffffffffffffffffffffffffff
-exact version matching broken |
| User & Date: | jenglish on 2007-05-24 03:08:14 |
Changes
- icomment:
Logged In: YES user_id=68433 Originator: NO I don't think this is the right way to fix the problem. Instead of changing the semantics of Tcl_InitStubs() to be what Tk wants it to mean, Tk 8.5 should instead say exactly what it means (possibly by calling Tcl_InitStubs(interp, TCL_VERSION, 0); to initialize the stubs table, followed by further calls to Tcl_PkgRequirePrefixMatch to express the exact requirement). Extensions other than Tk might very well want Tcl_InitStubs(interp, TCL_PATCH_LEVEL, 1); to mean "the exact version that I was compiled against, no prefix matches". In particular, extensions that reference private headers might want this behaviour. (That's been a problem with the 8.4 series -- there was no way to say "I need Tcl 8.4.N or later, because I'm using a routine that was added to the internal stubs table in that version", and there was no way to say "I want Tcl 8.4.N exactly, because ditto and furthermore there's no guarantee that it will still be in Tcl 8.4.N+1").
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"