summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-11-30 08:37:15 (GMT)
committerhobbs <hobbs@noemail.net>1999-11-30 08:37:15 (GMT)
commit8deea86b6db766a6d0d31d44a03bc350504d485e (patch)
treefcbc467fd0ef4f115e60a046027d170322460dfb /unix/tclUnixPipe.c
parent13c9b3e4e286ca1d557f73a86725ae8be34883ac (diff)
downloadtcl-8deea86b6db766a6d0d31d44a03bc350504d485e.zip
tcl-8deea86b6db766a6d0d31d44a03bc350504d485e.tar.gz
tcl-8deea86b6db766a6d0d31d44a03bc350504d485e.tar.bz2
* unix/tclUnixPipe.c: fixed PipeBlockModeProc to properly set
isNonBlocking flag on pipe. [Bug: 1356 710] FossilOrigin-Name: d923016a932319ed4a7aab9eb37db73371b6561b
Diffstat (limited to 'unix/tclUnixPipe.c')
-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;
}