diff options
author | andreas_kupries <akupries@shaw.ca> | 2001-12-11 02:42:41 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2001-12-11 02:42:41 (GMT) |
commit | a331ce2d727b1e7f577c49077938f7fb26f4d084 (patch) | |
tree | 56d4ae200e73c493751fc0e3f9538ed71b6978f3 | |
parent | cdedbaef562cec652a7bbfa9faf73a5ba885facc (diff) | |
download | tcl-a331ce2d727b1e7f577c49077938f7fb26f4d084.zip tcl-a331ce2d727b1e7f577c49077938f7fb26f4d084.tar.gz tcl-a331ce2d727b1e7f577c49077938f7fb26f4d084.tar.bz2 |
* unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter's
patch fixing bug #437489.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | unix/tclUnixPipe.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2001-12-10 Andreas Kupries <andreas_kupries@users.sourceforge.net> + + * unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter's + patch fixing bug #437489. + 2001-12-10 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclEvent.c: diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c index 82f180e..8e6dd03 100644 --- a/unix/tclUnixPipe.c +++ b/unix/tclUnixPipe.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPipe.c,v 1.16 2001/10/18 01:01:15 hobbs Exp $ + * RCS: @(#) $Id: tclUnixPipe.c,v 1.17 2001/12/11 02:42:41 andreas_kupries Exp $ */ #include "tclInt.h" @@ -423,7 +423,7 @@ TclpCreateProcess(interp, argc, argv, inputFile, outputFile, errorFile, newArgv[i] = Tcl_UtfToExternalDString(NULL, argv[i], -1, &dsArray[i]); } - joinThisError = (errorFile == outputFile); + joinThisError = errorFile && (errorFile == outputFile); pid = fork(); if (pid == 0) { fd = GetFd(errPipeOut); |