diff options
author | andreas_kupries <andreas_kupries@noemail.net> | 2006-12-05 17:44:42 (GMT) |
---|---|---|
committer | andreas_kupries <andreas_kupries@noemail.net> | 2006-12-05 17:44:42 (GMT) |
commit | 3642590352bf94cfae866073f24cee923d26a3fb (patch) | |
tree | 140f9a5bc68e660dbb8811da529498cde99d639d /ChangeLog | |
parent | 465045df2fd1a667f3f74eaf5ed556bb8b7abf86 (diff) | |
download | tcl-3642590352bf94cfae866073f24cee923d26a3fb.zip tcl-3642590352bf94cfae866073f24cee923d26a3fb.tar.gz tcl-3642590352bf94cfae866073f24cee923d26a3fb.tar.bz2 |
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.
FossilOrigin-Name: fb9873f4571dec518c943740f9646b7d62faf02e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2006-12-05 Andreas Kupries <andreask@activestate.com> + + * tests/pkg.test: Backport to 8.4 (Don Porter's work): + * generic/tclPkg.c: 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. + 2006-12-04 Donal K. Fellows <donal.k.fellows@man.ac.uk> * doc/file.n: Fix confusing wording for [file pathtype]. [Bug 1606454] |