diff options
author | hobbs <hobbs> | 2000-09-28 06:38:19 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-09-28 06:38:19 (GMT) |
commit | 2d7d8bbf34ad1a83c79ac4a426abde4d0d6d673b (patch) | |
tree | 743fd832404688182adf6caa724055006c11975a /win/tclWinChan.c | |
parent | da0cf2b6650c75599d1acf5f5c1e1816a344458e (diff) | |
download | tcl-2d7d8bbf34ad1a83c79ac4a426abde4d0d6d673b.zip tcl-2d7d8bbf34ad1a83c79ac4a426abde4d0d6d673b.tar.gz tcl-2d7d8bbf34ad1a83c79ac4a426abde4d0d6d673b.tar.bz2 |
up-port of the stacked channel implementation rewrite in 8.3.2 to
8.4a2 code base, merged in with some existing new 8.4a2 features.
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r-- | win/tclWinChan.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c index f40d361..d2f0fa1 100644 --- a/win/tclWinChan.c +++ b/win/tclWinChan.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinChan.c,v 1.11 2000/07/18 02:16:31 davidg Exp $ + * RCS: @(#) $Id: tclWinChan.c,v 1.12 2000/09/28 06:38:23 hobbs Exp $ */ #include "tclWinInt.h" @@ -101,7 +101,7 @@ static void FileWatchProc _ANSI_ARGS_((ClientData instanceData, static Tcl_ChannelType fileChannelType = { "file", /* Type name. */ - FileBlockProc, /* Set blocking or non-blocking mode.*/ + TCL_CHANNEL_VERSION_2, /* v2 channel */ FileCloseProc, /* Close proc. */ FileInputProc, /* Input proc. */ FileOutputProc, /* Output proc. */ @@ -110,6 +110,10 @@ static Tcl_ChannelType fileChannelType = { NULL, /* Get option proc. */ FileWatchProc, /* Set up the notifier to watch the channel. */ FileGetHandleProc, /* Get an OS handle from channel. */ + NULL, /* close2proc. */ + FileBlockProc, /* Set blocking or non-blocking mode.*/ + NULL, /* flush proc. */ + NULL, /* handler proc. */ }; |