diff options
author | rjohnson <rjohnson> | 1999-01-04 19:25:00 (GMT) |
---|---|---|
committer | rjohnson <rjohnson> | 1999-01-04 19:25:00 (GMT) |
commit | 760c4938e485677a0254aec064f2b5514b2de2f4 (patch) | |
tree | 2ebcffb0739583b8c350d6195ba1907eed304abb /win/tclWinChan.c | |
parent | d776c5c3824a646b3a8a58c6f5125c0dcf75f554 (diff) | |
download | tcl-760c4938e485677a0254aec064f2b5514b2de2f4.zip tcl-760c4938e485677a0254aec064f2b5514b2de2f4.tar.gz tcl-760c4938e485677a0254aec064f2b5514b2de2f4.tar.bz2 |
Updated the version to 8.0.5.
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r-- | win/tclWinChan.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c index 1ff36ce..3d2c4e6 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.3 1998/09/14 18:40:19 stanton Exp $ + * RCS: @(#) $Id: tclWinChan.c,v 1.4 1999/01/04 19:25:05 rjohnson Exp $ */ #include "tclWinInt.h" @@ -1167,6 +1167,9 @@ TclGetDefaultStdChannel(type) } channel = Tcl_MakeFileChannel(handle, mode); + if (channel == NULL) { + return NULL; + } /* * Set up the normal channel options for stdio handles. |