Skip to content
Tcl Source Code Check-in [fb9873f457]
Login

Check-in [fb9873f457]

Overview
Comment: Backport to 8.4 (Don Porter's work). When no requirements are supplied to a [package require $pkg] and [package unknown] is invoked to find a satisfying package, pass the requirement argument "0-" (which means all versions are acceptable). This permits a registered [package unknown] command to call [package vsatisfies $testVersion {*}$args] without any special handling of the empty $args case. This fixes/avoids a bug in [::tcl::tm::UnknownHandler] that was causing old TM versions to be provided in preference to newer TM versions. Thanks to Julian Noble for discovering the issue.
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: fb9873f4571dec518c943740f9646b7d62faf02e
User & Date: andreas_kupries on 2006-12-05 17:44:43.000
Other Links: branch diff | manifest | tags
Context
2006-12-08
03:38
typo check-in: dea19c5ae5 user: das tags: core-8-4-branch
2006-12-05
17:44
Backport to 8.4 (Don Porter's work). When no requirements are supplied to a [package require $pkg]... check-in: fb9873f457 user: andreas_kupries tags: core-8-4-branch
2006-12-04
09:11
Fix [Bug 1606454] check-in: c1e3f441f9 user: dkf tags: core-8-4-branch
Changes