diff options
author | andreas_kupries <akupries@shaw.ca> | 2006-03-27 18:08:49 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2006-03-27 18:08:49 (GMT) |
commit | defe3d84881f228cf76d953096d229f48f4ef832 (patch) | |
tree | a21d2be7d2f28c05724ac99fed38fb39a5c427e5 /win/tclWinSerial.c | |
parent | ebc6052351a702f64995fa97024d989464aebdc9 (diff) | |
download | tcl-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/tclWinSerial.c')
-rw-r--r-- | win/tclWinSerial.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c index a4557ee..a2846b3 100644 --- a/win/tclWinSerial.c +++ b/win/tclWinSerial.c @@ -11,7 +11,7 @@ * * Serial functionality implemented by Rolf.Schroedter@dlr.de * - * RCS: @(#) $Id: tclWinSerial.c,v 1.33 2005/10/31 13:53:33 dkf Exp $ + * RCS: @(#) $Id: tclWinSerial.c,v 1.34 2006/03/27 18:08:51 andreas_kupries Exp $ */ #include "tclWinInt.h" @@ -205,7 +205,7 @@ static int SerialBlockingWrite(SerialInfo *infoPtr, LPVOID buf, static Tcl_ChannelType serialChannelType = { "serial", /* Type name. */ - TCL_CHANNEL_VERSION_4, /* v4 channel */ + TCL_CHANNEL_VERSION_5, /* v5 channel */ SerialCloseProc, /* Close proc. */ SerialInputProc, /* Input proc. */ SerialOutputProc, /* Output proc. */ @@ -220,6 +220,7 @@ static Tcl_ChannelType serialChannelType = { NULL, /* handler proc. */ NULL, /* wide seek proc */ SerialThreadActionProc, /* thread action proc */ + NULL, /* truncate */ }; /* |