summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-06-10 22:21:53 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-06-10 22:21:53 (GMT)
commit5f7f423c689fd84fd9fd9277b7d0b88508df193e (patch)
tree37e87652ff8a4dd91645c83ad41a378e1a6290ae /win
parentf8d48a28aa88543b2a71e4f33aa1bca392898f14 (diff)
downloadtcl-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 'win')
-rw-r--r--win/tclWinInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c
index fb3c026..d006115 100644
--- a/win/tclWinInit.c
+++ b/win/tclWinInit.c
@@ -7,7 +7,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclWinInit.c,v 1.46 2004/04/07 22:04:31 hobbs Exp $
+ * RCS: @(#) $Id: tclWinInit.c,v 1.47 2004/06/10 22:21:54 dgp Exp $
*/
#include "tclWinInt.h"
@@ -258,7 +258,7 @@ TclpInitLibraryPath(path)
* overwrite pathv[0] since that might produce a relative path.
*/
- if (path != NULL) {
+ if (0 && path != NULL) {
int i, origc;
CONST char **origv;