summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-11 10:26:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-11 10:26:35 (GMT)
commit1fa1578500c58be8eed071fcbdce604c32b418cd (patch)
tree009db31a5963d62836932b6319b6bdd75ed5d050
parent7d1b223f7df36d45707d0c6325c3c5665b324724 (diff)
downloadtcl-1fa1578500c58be8eed071fcbdce604c32b418cd.zip
tcl-1fa1578500c58be8eed071fcbdce604c32b418cd.tar.gz
tcl-1fa1578500c58be8eed071fcbdce604c32b418cd.tar.bz2
Even though TCLOO_PATCHLEVEL is equal to TCLOO_VERSION, using "patchlevel" is more appropriate in those two places.
-rw-r--r--generic/tclOO.c2
-rw-r--r--tests/oo.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c
index cb22de6..529640f 100644
--- a/generic/tclOO.c
+++ b/generic/tclOO.c
@@ -271,7 +271,7 @@ TclOOInit(
return TCL_ERROR;
}
- return Tcl_PkgProvideEx(interp, "TclOO", TCLOO_VERSION,
+ return Tcl_PkgProvideEx(interp, "TclOO", TCLOO_PATCHLEVEL,
(ClientData) &tclOOStubs);
}
diff --git a/tests/oo.test b/tests/oo.test
index 37bbadb..d63e931 100644
--- a/tests/oo.test
+++ b/tests/oo.test
@@ -101,7 +101,7 @@ test oo-0.8 {leak in variable management} -setup {
test oo-0.9 {various types of presence of the TclOO package} {
list [lsearch -nocase -all -inline [package names] tcloo] \
[package present TclOO] [package versions TclOO]
-} [list TclOO $::oo::version $::oo::version]
+} [list TclOO $::oo::patchlevel $::oo::patchlevel]
test oo-1.1 {basic test of OO functionality: no classes} {
set result {}