diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-12-02 14:35:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-12-02 14:35:03 (GMT) |
commit | 06d38df148ae4415dd9b1ed7afff6d74a5482345 (patch) | |
tree | fd23b6e373617cac73059f8dee77d486b9d339ba /library/http | |
parent | c85fd541529c09d23c1091969ad8f96012bb68ec (diff) | |
download | tcl-06d38df148ae4415dd9b1ed7afff6d74a5482345.zip tcl-06d38df148ae4415dd9b1ed7afff6d74a5482345.tar.gz tcl-06d38df148ae4415dd9b1ed7afff6d74a5482345.tar.bz2 |
Allow http, msgcat and tcltest to be loaded by Tcl 9 as well. I think
that this should be included in tcl8.6.0: Those 3 packages are so
widely used, we don't want to introduce Tcl-level incompatibilities
in Tcl9 such that those packages wouldn't work any more.
Moved to branch novem-support. For now, novem is a playground.
The trunk is not. By all means lets track what we need for
migration, but hold back committing to them until we commit
more meaningfully to where we're going.
Diffstat (limited to 'library/http')
-rw-r--r-- | library/http/http.tcl | 2 | ||||
-rw-r--r-- | library/http/pkgIndex.tcl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl index d57e3ce..c3290c9 100644 --- a/library/http/http.tcl +++ b/library/http/http.tcl @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. -package require Tcl 8.6 +package require Tcl 8.6- # Keep this in sync with pkgIndex.tcl and with the install directories in # Makefiles package provide http 2.8.5 diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl index 303d3bd..828c860 100644 --- a/library/http/pkgIndex.tcl +++ b/library/http/pkgIndex.tcl @@ -1,2 +1,2 @@ -if {![package vsatisfies [package provide Tcl] 8.6]} {return} +if {![package vsatisfies [package provide Tcl] 8.6-]} {return} package ifneeded http 2.8.5 [list tclPkgSetup $dir http 2.8.5 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}] |