diff options
author | dgp <dgp@users.sourceforge.net> | 2004-06-10 22:21:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-06-10 22:21:53 (GMT) |
commit | 5f7f423c689fd84fd9fd9277b7d0b88508df193e (patch) | |
tree | 37e87652ff8a4dd91645c83ad41a378e1a6290ae /unix | |
parent | f8d48a28aa88543b2a71e4f33aa1bca392898f14 (diff) | |
download | tcl-5f7f423c689fd84fd9fd9277b7d0b88508df193e.zip tcl-5f7f423c689fd84fd9fd9277b7d0b88508df193e.tar.gz tcl-5f7f423c689fd84fd9fd9277b7d0b88508df193e.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.
Diffstat (limited to 'unix')
-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; |