diff options
author | hobbs <hobbs@noemail.net> | 2001-05-15 21:23:30 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2001-05-15 21:23:30 (GMT) |
commit | 531e0944b787172a4b37ee1a944d6b45713ef310 (patch) | |
tree | 6badb104d49e6fe3b5e33ae8857b0f7e855ea624 /unix/tclUnixPipe.c | |
parent | 355067f5acec9dbf0dc2e64935599ccc844a26de (diff) | |
download | tcl-531e0944b787172a4b37ee1a944d6b45713ef310.zip tcl-531e0944b787172a4b37ee1a944d6b45713ef310.tar.gz tcl-531e0944b787172a4b37ee1a944d6b45713ef310.tar.bz2 |
* unix/tclUnixPipe.c: updated pipeChannelType to
TCL_CHANNEL_VERSION_2 type specification.
FossilOrigin-Name: 91ed1b9e97913ec7d839c0aeb905590a0ff31373
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r-- | unix/tclUnixPipe.c | 26 |
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. */ }; /* |