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

Check-in [d0d079458e]

Overview
Comment: * generic/tclPkg.c: When no requirements are supplied to a * tests/pkg.test: [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 | trunk
Files: files | file ages | folders
SHA1: d0d079458eda92ea703288459a6087f9757a3e1e
User & Date: dgp on 2006-12-05 15:36:12.000
Other Links: manifest | tags
Context
2006-12-05
18:45
* generic/tclBasic.c: TIP #291. Define tcl_platform element for * doc/tclvars.n: pointerSize... check-in: 3cc462fc46 user: andreas_kupries tags: trunk
15:36
* generic/tclPkg.c: When no requirements are supplied to a * tests/pkg.test: ... check-in: d0d079458e user: dgp tags: trunk
2006-12-04
23:26
Fix leaking-stderr test breakage check-in: 020010ebfe user: dkf tags: trunk
Changes