diff options
author | das <das@noemail.net> | 2002-10-22 16:41:25 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2002-10-22 16:41:25 (GMT) |
commit | 427b8ea82adf8316736f31e4bf14024872e604f9 (patch) | |
tree | cbfa88b9d4e734767f869e6cc17264ca9d64cd7e /library/auto.tcl | |
parent | d5ca49ed9c5eaff0854cf5c74b298b00551648e2 (diff) | |
download | tcl-427b8ea82adf8316736f31e4bf14024872e604f9.zip tcl-427b8ea82adf8316736f31e4bf14024872e604f9.tar.gz tcl-427b8ea82adf8316736f31e4bf14024872e604f9.tar.bz2 |
* library/auto.tcl (tcl_findLibrary):
* library/package.tcl (tclPkgUnknown): on macosx, search inside the
Resources/Scripts subdirectory of any potential package directory
* macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs
to TCL_PACKAGE_PATH make argument.
* unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded
framework dirs to tcl_pkgPath: @executable_path/../Frameworks and
@executable_path/../PrivateFrameworks (if they exist), as well as
the dirs in DYLD_FRAMEWORK_PATH (if set). [Patch #624509]
use standard MAXPATHLEN instead of literal 1024
FossilOrigin-Name: eacf3ad5d55c92db60d59e48f89d2669fb8685be
Diffstat (limited to 'library/auto.tcl')
-rw-r--r-- | library/auto.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/auto.tcl b/library/auto.tcl index b023f59..dcea2b5 100644 --- a/library/auto.tcl +++ b/library/auto.tcl @@ -3,7 +3,7 @@ # utility procs formerly in init.tcl dealing with auto execution # of commands and can be auto loaded themselves. # -# RCS: @(#) $Id: auto.tcl,v 1.10 2002/08/31 06:09:45 das Exp $ +# RCS: @(#) $Id: auto.tcl,v 1.11 2002/10/22 16:41:27 das Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1998 Sun Microsystems, Inc. @@ -103,6 +103,7 @@ proc tcl_findLibrary {basename version patch initScript enVarName varName} { [string equal $::tcl_platform(os) "Darwin"]} { foreach d $::tcl_pkgPath { lappend dirs [file join $d $basename$version] + lappend dirs [file join $d $basename$version Resources Scripts] } } } |