summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2006-12-05 17:44:43 (GMT)
committerandreas_kupries <akupries@shaw.ca>2006-12-05 17:44:43 (GMT)
commitab1909f47de821d2492d8b813f004a816411ac21 (patch)
tree140f9a5bc68e660dbb8811da529498cde99d639d /unix/tclUnixThrd.c
parent6b0dfb9eae50000421378ef4fb43e1543f56afc8 (diff)
downloadtcl-ab1909f47de821d2492d8b813f004a816411ac21.zip
tcl-ab1909f47de821d2492d8b813f004a816411ac21.tar.gz
tcl-ab1909f47de821d2492d8b813f004a816411ac21.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.
Diffstat (limited to 'unix/tclUnixThrd.c')
0 files changed, 0 insertions, 0 deletions