summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-05-15 21:23:31 (GMT)
committerhobbs <hobbs>2001-05-15 21:23:31 (GMT)
commit4f14cf7083765d0f333e20219b375cc320618a4e (patch)
tree6badb104d49e6fe3b5e33ae8857b0f7e855ea624
parenta0ff54d1513bcdb72c048bd121911ce0efe0b0a3 (diff)
downloadtcl-4f14cf7083765d0f333e20219b375cc320618a4e.zip
tcl-4f14cf7083765d0f333e20219b375cc320618a4e.tar.gz
tcl-4f14cf7083765d0f333e20219b375cc320618a4e.tar.bz2
* unix/tclUnixPipe.c: updated pipeChannelType to
TCL_CHANNEL_VERSION_2 type specification.
-rw-r--r--unix/tclUnixPipe.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index bf5a005..318b9c6 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.11 2001/03/29 19:45:20 hobbs Exp $
+ * RCS: @(#) $Id: tclUnixPipe.c,v 1.12 2001/05/15 21:23:31 hobbs Exp $
*/
#include "tclInt.h"
@@ -67,16 +67,20 @@ static int SetupStdFile _ANSI_ARGS_((TclFile file, int type));
*/
static Tcl_ChannelType pipeChannelType = {
- "pipe", /* Type name. */
- PipeBlockModeProc, /* Set blocking/nonblocking mode.*/
- PipeCloseProc, /* Close proc. */
- PipeInputProc, /* Input proc. */
- PipeOutputProc, /* Output proc. */
- NULL, /* Seek proc. */
- NULL, /* Set option proc. */
- NULL, /* Get option proc. */
- PipeWatchProc, /* Initialize notifier. */
- PipeGetHandleProc, /* Get OS handles out of channel. */
+ "pipe", /* Type name. */
+ TCL_CHANNEL_VERSION_2, /* v2 channel */
+ PipeCloseProc, /* Close proc. */
+ PipeInputProc, /* Input proc. */
+ PipeOutputProc, /* Output proc. */
+ NULL, /* Seek proc. */
+ NULL, /* Set option proc. */
+ NULL, /* Get option proc. */
+ PipeWatchProc, /* Initialize notifier. */
+ PipeGetHandleProc, /* Get OS handles out of channel. */
+ NULL, /* close2proc. */
+ PipeBlockModeProc, /* Set blocking or non-blocking mode.*/
+ NULL, /* flush proc. */
+ NULL, /* handler proc. */
};
/*