Tcl Source Code

View Ticket
Login
Ticket UUID: 701926
Title: test packages mis-use stubs
Type: Bug Created on: 2003-03-12 02:18:46
Submitter: dgp Assigned to: dgp
Subsystem: 40. Dynamic Loading Severity:
Priority: 5 Medium Last modified: 2003-03-27 03:16:08
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2003-03-26 20:16:08
Version: obsolete: 8.5a0
Description:
The test packages in

tcl/unix/dltests/pkg?.c

are all built using stubs, but
they call Tcl_InitStubs with
the "exact" argument set
to 1, so a test package compiled
against 8.4 will not load into
an 8.5 interp, for example.

Either we should pass exact=0
so that these packages can
load into later compatible versions
of Tcl, or we should add dependency
rules to the Makefile(s) so they get
rebuilt when the Tcl sources get
their version bumped.
User Comments:
dgp added on 2003-03-27 03:16:08:
Logged In: YES 
user_id=80530

those packages now accept
any Tcl version that satisfies
the requirement of the header
they were compiled against.

That is, exact == 0 in the
Tcl_InitStubs calls.