diff options
author | dgp <dgp@users.sourceforge.net> | 2006-12-05 15:36:12 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-12-05 15:36:12 (GMT) |
commit | 7c22ad04aa281f88dbf8b20774d7fdd84d570284 (patch) | |
tree | dc0d31dcd5395b5b76b540c828eb341594918bd4 /ChangeLog | |
parent | 72c5eb5081e251714a3af49a55ebcd9ffd17b123 (diff) | |
download | tcl-7c22ad04aa281f88dbf8b20774d7fdd84d570284.zip tcl-7c22ad04aa281f88dbf8b20774d7fdd84d570284.tar.gz tcl-7c22ad04aa281f88dbf8b20774d7fdd84d570284.tar.bz2 |
* 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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2006-12-05 Don Porter <dgp@users.sourceforge.net> + + * 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. + 2006-12-04 Donal K. Fellows <dkf@users.sf.net> TIP#267 IMPLEMENTATION |