diff options
author | andreas_kupries <andreas_kupries@noemail.net> | 2006-03-27 18:08:48 (GMT) |
---|---|---|
committer | andreas_kupries <andreas_kupries@noemail.net> | 2006-03-27 18:08:48 (GMT) |
commit | 75f50e30c0274fd400b1d41d6556ef90daf71dd8 (patch) | |
tree | a21d2be7d2f28c05724ac99fed38fb39a5c427e5 /generic/tclIOGT.c | |
parent | 588278ae89eaf6dae9db39e1072334520e74db45 (diff) | |
download | tcl-75f50e30c0274fd400b1d41d6556ef90daf71dd8.zip tcl-75f50e30c0274fd400b1d41d6556ef90daf71dd8.tar.gz tcl-75f50e30c0274fd400b1d41d6556ef90daf71dd8.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:
FossilOrigin-Name: 5fab17f21dd3b7e030cd3158333382610ba99ea3
Diffstat (limited to 'generic/tclIOGT.c')
-rw-r--r-- | generic/tclIOGT.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclIOGT.c b/generic/tclIOGT.c index c708bb1..bd01d8c 100644 --- a/generic/tclIOGT.c +++ b/generic/tclIOGT.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. * - * CVS: $Id: tclIOGT.c,v 1.14 2005/11/01 15:30:52 dkf Exp $ + * CVS: $Id: tclIOGT.c,v 1.15 2006/03/27 18:08:50 andreas_kupries Exp $ */ #include "tclInt.h" @@ -120,7 +120,7 @@ static void ResultAdd(ResultBuffer *r, unsigned char *buf, static Tcl_ChannelType transformChannelType = { "transform", /* Type name. */ - TCL_CHANNEL_VERSION_3, + TCL_CHANNEL_VERSION_5, /* v5 channel */ TransformCloseProc, /* Close proc. */ TransformInputProc, /* Input proc. */ TransformOutputProc, /* Output proc. */ @@ -134,6 +134,8 @@ static Tcl_ChannelType transformChannelType = { NULL, /* Flush proc. */ TransformNotifyProc, /* Handling of events bubbling up */ TransformWideSeekProc, /* Wide seek proc */ + NULL, /* thread action */ + NULL, /* truncate */ }; /* |