summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstanton <stanton>1999-05-18 22:36:27 (GMT)
committerstanton <stanton>1999-05-18 22:36:27 (GMT)
commit96731f9b954d34f9152888a84ec2226db72ef216 (patch)
tree0fba3fb22c16ba66a316b567a1213228dcfe63fe
parenta2c4bca8f6cf2937920e084e1ef10741f3bf0d7c (diff)
downloadtcl-96731f9b954d34f9152888a84ec2226db72ef216.zip
tcl-96731f9b954d34f9152888a84ec2226db72ef216.tar.gz
tcl-96731f9b954d34f9152888a84ec2226db72ef216.tar.bz2
* win/tclWinChan.c: Modified initialization code to avoid
inherenting closed or invalid channels. If the standard input is anything other than a console, file, serial port, or pipe, then we fall back to the standard Tk window console.
-rw-r--r--win/tclWinChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index a7e1666..b92bd14 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.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: tclWinChan.c,v 1.6.2.2 1999/05/18 17:40:28 redman Exp $
+ * RCS: @(#) $Id: tclWinChan.c,v 1.6.2.3 1999/05/18 22:36:27 stanton Exp $
*/
#include "tclWinInt.h"
@@ -939,7 +939,7 @@ Tcl_MakeFileChannel(rawHandle, mode)
* trouble with the MS DevStudio debugger.
*/
- channel = NULL
+ channel = NULL;
break;
}