diff options
author | dgp <dgp@noemail.net> | 2004-06-10 22:21:52 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2004-06-10 22:21:52 (GMT) |
commit | 1841b5b3617ab5d50d99832f49341ad27c7690ca (patch) | |
tree | 37e87652ff8a4dd91645c83ad41a378e1a6290ae /unix/tclUnixInit.c | |
parent | 69be455f131d63aa5c1bbedb4a72672b516fa886 (diff) | |
download | tcl-1841b5b3617ab5d50d99832f49341ad27c7690ca.zip tcl-1841b5b3617ab5d50d99832f49341ad27c7690ca.tar.gz tcl-1841b5b3617ab5d50d99832f49341ad27c7690ca.tar.bz2 |
* unix/tclUnixInit.c (TclpInitLibraryPath): Disabled addition of
* win/tclWinInit.c (TclpInitLibraryPath): relative-to-executable
directories to the library search path. A first step in reform of
Tcl's startup process.
***POTENTIAL INCOMPATIBILITY***
Attempts to directly run ./tclsh or ./tcltest out of a build
directory will either fail, or will make use of an installed
script library in preference to the one in the source tree.
Use `make shell` or `make runtest` instead.
* tests/unixInit.test: Modified tests to suit above changes.
FossilOrigin-Name: 7b183335bf901be601100f31ad9a79fdbec91e99
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r-- | unix/tclUnixInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index f7e5722..a8732db 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -7,7 +7,7 @@ * Copyright (c) 1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclUnixInit.c,v 1.41 2004/04/07 22:04:30 hobbs Exp $ + * RCS: @(#) $Id: tclUnixInit.c,v 1.42 2004/06/10 22:21:54 dgp Exp $ */ #if defined(HAVE_CFBUNDLE) @@ -355,7 +355,7 @@ CONST char *path; /* Path to the executable in native * overwrite pathv[0] since that might produce a relative path. */ - if (path != NULL) { + if (0 && path != NULL) { int i, origc; CONST char **origv; |