diff options
author | andreask@activestate.com <andreas_kupries> | 2001-12-11 02:42:41 (GMT) |
---|---|---|
committer | andreask@activestate.com <andreas_kupries> | 2001-12-11 02:42:41 (GMT) |
commit | 359a605f964b5fb76ed0ab6d9cab72a6beebffb0 (patch) | |
tree | 56d4ae200e73c493751fc0e3f9538ed71b6978f3 /unix/tclUnixPipe.c | |
parent | 62f3b5525991e144ff56dbcc238de5977822a859 (diff) | |
download | tcl-359a605f964b5fb76ed0ab6d9cab72a6beebffb0.zip tcl-359a605f964b5fb76ed0ab6d9cab72a6beebffb0.tar.gz tcl-359a605f964b5fb76ed0ab6d9cab72a6beebffb0.tar.bz2 |
* unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter's
patch fixing bug #437489.
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r-- | unix/tclUnixPipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |