From 8deea86b6db766a6d0d31d44a03bc350504d485e Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 30 Nov 1999 08:37:15 +0000 Subject: * unix/tclUnixPipe.c: fixed PipeBlockModeProc to properly set isNonBlocking flag on pipe. [Bug: 1356 710] FossilOrigin-Name: d923016a932319ed4a7aab9eb37db73371b6561b --- unix/tclUnixPipe.c | 6 ++++-- 1 file 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; } -- cgit v0.12