summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
diff options
context:
space:
mode:
authorredman <redman@noemail.net>1999-07-31 01:24:21 (GMT)
committerredman <redman@noemail.net>1999-07-31 01:24:21 (GMT)
commit7c5dd50a646c31a1d9f1efaeb7e9e734b0ed9653 (patch)
tree27c78157ba26b37eb3903cda422d147341acd3e2 /win/tclWinPipe.c
parent73d2f49ae63ccb3f84e158883c9b0b6c3d7e7141 (diff)
downloadtcl-7c5dd50a646c31a1d9f1efaeb7e9e734b0ed9653.zip
tcl-7c5dd50a646c31a1d9f1efaeb7e9e734b0ed9653.tar.gz
tcl-7c5dd50a646c31a1d9f1efaeb7e9e734b0ed9653.tar.bz2
* win/tclWinPipe.c:
* win/Makefile.in: Fixing launching of 16-bit apps on Win9x from wish. The command line was primed with tclpip82.dll, but it was ignored. Fixed that, then fixed the gmake makefile to build tclpip82.dll as an executable. * win/tclWinSock.c: Applied small patch to get thread-specific data after initializing the socket driver. FossilOrigin-Name: 0e573cddc1b1509c3e3443ec81d07c8ca0ea9f38
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r--win/tclWinPipe.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 565445e..9f650ff 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPipe.c,v 1.7 1999/07/27 01:42:25 redman Exp $
+ * RCS: @(#) $Id: tclWinPipe.c,v 1.8 1999/07/31 01:24:25 redman Exp $
*/
#include "tclWinInt.h"
@@ -1746,6 +1746,12 @@ BuildCommandLine(
Tcl_DStringInit(&ds);
+ /*
+ * Prime the path.
+ */
+
+ Tcl_DStringAppend(&ds, Tcl_DStringValue(linePtr), -1);
+
for (i = 0; i < argc; i++) {
if (i == 0) {
arg = executable;