summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
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: