summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2006-03-27 18:08:49 (GMT)
committerandreas_kupries <akupries@shaw.ca>2006-03-27 18:08:49 (GMT)
commitdefe3d84881f228cf76d953096d229f48f4ef832 (patch)
treea21d2be7d2f28c05724ac99fed38fb39a5c427e5 /win/tclWinConsole.c
parentebc6052351a702f64995fa97024d989464aebdc9 (diff)
downloadtcl-defe3d84881f228cf76d953096d229f48f4ef832.zip
tcl-defe3d84881f228cf76d953096d229f48f4ef832.tar.gz
tcl-defe3d84881f228cf76d953096d229f48f4ef832.tar.bz2
* doc/CrtChannel.3: Added TCL_CHANNEL_VERSION_5, made it
* generic/tcl.h: the version where the "truncateProc" * generic/tclIO.c: is defined at, and moved all channel * generic/tclIOGT.c: drivers of Tcl to v5. * generic/tclIORChan.c: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * win/tclWinChan.c: * win/tclWinConsole.c: * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c:
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index f859593..1480199 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.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: tclWinConsole.c,v 1.18 2005/12/13 22:43:18 kennykb Exp $
+ * RCS: @(#) $Id: tclWinConsole.c,v 1.19 2006/03/27 18:08:51 andreas_kupries Exp $
*/
#include "tclWinInt.h"
@@ -165,7 +165,7 @@ static void ConsoleThreadActionProc(ClientData instanceData,
static Tcl_ChannelType consoleChannelType = {
"console", /* Type name. */
- TCL_CHANNEL_VERSION_4, /* v4 channel */
+ TCL_CHANNEL_VERSION_5, /* v5 channel */
ConsoleCloseProc, /* Close proc. */
ConsoleInputProc, /* Input proc. */
ConsoleOutputProc, /* Output proc. */
@@ -180,6 +180,7 @@ static Tcl_ChannelType consoleChannelType = {
NULL, /* handler proc. */
NULL, /* wide seek proc */
ConsoleThreadActionProc, /* thread action proc */
+ NULL, /* truncation */
};
/*