Clone
Gustaf Neumann <neumann@wu-wien.ac.at>
committed
on 27 Sep
Improved Tcl 9.0.0 compatibility
One needs 'Tcl_InitStubs(interp, "8.5-",...)' instead of
'Tcl_InitStubs(interp, "8.5",...)', since the sema… Show more
Improved Tcl 9.0.0 compatibility

One needs 'Tcl_InitStubs(interp, "8.5-",...)' instead of

'Tcl_InitStubs(interp, "8.5",...)', since the semantics are seemingly

the same as in "package require ...". Not sure, why we have not seen

this with earlier pre-releases of Tcl9.

Without this change, we see in the NaviServer regression test the following error message:

[27/Sep/2024:10:56:30][18309.7f35ed856540][-main:test-] Error: version conflict for package "tcl": have 9.0.0, need 8.5

:    version conflict for package "tcl": have 9.0.0, need 8.5

:        while executing

:    "load {} Nsf"

:        invoked from within

:    "ns_ictl update"

:        (procedure "ns_cleanup" line 8)

:        invoked from within

Show less