summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-11-30 08:37:15 (GMT)
committerhobbs <hobbs>1999-11-30 08:37:15 (GMT)
commit97e585821100efae5c195c46dfabecaa35f7691c (patch)
treefcbc467fd0ef4f115e60a046027d170322460dfb /unix
parentd7393c5ccae5443faac4b81275778462c714ca12 (diff)
downloadtcl-97e585821100efae5c195c46dfabecaa35f7691c.zip
tcl-97e585821100efae5c195c46dfabecaa35f7691c.tar.gz
tcl-97e585821100efae5c195c46dfabecaa35f7691c.tar.bz2
* unix/tclUnixPipe.c: fixed PipeBlockModeProc to properly set
isNonBlocking flag on pipe. [Bug: 1356 710]
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPipe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index f140555..238801e 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.4 1999/10/13 00:32:50 hobbs Exp $
+ * RCS: @(#) $Id: tclUnixPipe.c,v 1.5 1999/11/30 08:37:15 hobbs Exp $
*/
#include "tclInt.h"
@@ -816,7 +816,9 @@ PipeBlockModeProc(instanceData, mode)
}
}
#endif /* USE_FIONBIO */
-
+
+ psPtr->isNonBlocking = (mode == TCL_MODE_NONBLOCKING);
+
return 0;
}