summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-03 15:32:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-03 15:32:46 (GMT)
commit7a08415d8a41ee7d18d7071fdef937057809ef4b (patch)
tree645dfbaee93b71a5ba9a4458772d4b4719c83ae1 /generic/tclZlib.c
parentf2abeaba919cf08d6db314afbcc6e0f2360967ec (diff)
downloadtcl-7a08415d8a41ee7d18d7071fdef937057809ef4b.zip
tcl-7a08415d8a41ee7d18d7071fdef937057809ef4b.tar.gz
tcl-7a08415d8a41ee7d18d7071fdef937057809ef4b.tar.bz2
Case-sensitive package names
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index ea6a1f2..05f13b5 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -3957,7 +3957,10 @@ TclZlibInit(
* Formally provide the package as a Tcl built-in.
*/
- return Tcl_PkgProvide(interp, "zlib", TCL_ZLIB_VERSION);
+#ifndef TCL_NO_DEPRECATED
+ Tcl_PkgProvide(interp, "zlib", TCL_ZLIB_VERSION);
+#endif
+ return Tcl_PkgProvide(interp, "tcl::zlib", TCL_ZLIB_VERSION);
}
/*