summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authorrjohnson <rjohnson@noemail.net>1999-01-04 19:25:00 (GMT)
committerrjohnson <rjohnson@noemail.net>1999-01-04 19:25:00 (GMT)
commita99c6a13a0444ea71b9cb2a2f4f12f959b6d4930 (patch)
tree2ebcffb0739583b8c350d6195ba1907eed304abb /unix/tclUnixChan.c
parent02fea52b5f7ec224ebbe22568e2fb41242fa76d1 (diff)
downloadtcl-a99c6a13a0444ea71b9cb2a2f4f12f959b6d4930.zip
tcl-a99c6a13a0444ea71b9cb2a2f4f12f959b6d4930.tar.gz
tcl-a99c6a13a0444ea71b9cb2a2f4f12f959b6d4930.tar.bz2
Updated the version to 8.0.5.
FossilOrigin-Name: b3c705fae1f8a2cd8989ddb1f77ce443ba04240b
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c5
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.