summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-15 17:55:25 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-15 17:55:25 (GMT)
commit8a45c3faf392af5c64589268d0d7699c17b7feec (patch)
treea098b4e6b1d3b2a82e4d807dc53a33244eb57d2b /library
parenta06d3694d5af51acabffa650a8aaaa30e199d130 (diff)
downloadtcl-8a45c3faf392af5c64589268d0d7699c17b7feec.zip
tcl-8a45c3faf392af5c64589268d0d7699c17b7feec.tar.gz
tcl-8a45c3faf392af5c64589268d0d7699c17b7feec.tar.bz2
More complete purge of things only present for supporting long-dead Mac 9 systems.
Diffstat (limited to 'library')
-rw-r--r--library/init.tcl8
-rw-r--r--library/package.tcl3
2 files changed, 1 insertions, 10 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 02bce3b..cd02549 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -35,7 +35,6 @@ package require -exact Tcl 8.4
# tcl_pkgPath, which is set by the platform-specific initialization routines
# On UNIX it is compiled in
# On Windows, it is not used
-# On Macintosh it is "Tool Command Language" in the Extensions folder
if {![info exists auto_path]} {
if {[info exists env(TCLLIBPATH)]} {
@@ -117,18 +116,11 @@ if {![interp issafe]} {
&& $::tcl_platform(os) eq "Darwin"} {
package unknown [list tcl::MacOSXPkgUnknown [package unknown]]
}
- if {$::tcl_platform(platform) eq "macintosh"} {
- package unknown [list tcl::MacPkgUnknown [package unknown]]
- }
}
# Conditionalize for presence of exec.
if {[namespace which -command exec] eq ""} {
-
- # Some machines, such as the Macintosh, do not have exec. Also, on all
- # platforms, safe interpreters do not have exec.
-
set auto_noexec 1
}
set errorCode ""
diff --git a/library/package.tcl b/library/package.tcl
index 3ed8d3c..c19640e 100644
--- a/library/package.tcl
+++ b/library/package.tcl
@@ -460,8 +460,7 @@ proc tclPkgSetup {dir pkg version files} {
# It is invoked when a package that's needed can't be found. It scans
# the auto_path directories and their immediate children looking for
# pkgIndex.tcl files and sources any such files that are found to setup
-# the package database. (On the Macintosh we also search for pkgIndex
-# TEXT resources in all files.) As it searches, it will recognize changes
+# the package database. As it searches, it will recognize changes
# to the auto_path and scan any new directories.
#
# Arguments: