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 /unix/tclUnixChan.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 'unix/tclUnixChan.c')
-rw-r--r-- | unix/tclUnixChan.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index 5da3024..4fe0144 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.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: tclUnixChan.c,v 1.7 1998/09/14 18:40:17 stanton Exp $ + * RCS: @(#) $Id: tclUnixChan.c,v 1.8 1999/01/04 19:25:04 rjohnson Exp $ */ #include "tclInt.h" /* Internal definitions for Tcl. */ @@ -2320,6 +2320,9 @@ TclGetDefaultStdChannel(type) } channel = Tcl_MakeFileChannel((ClientData) fd, mode); + if (channel == NULL) { + return NULL; + } /* * Set up the normal channel options for stdio handles. |