summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-04-07 22:17:36 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-04-07 22:17:36 (GMT)
commit56497ff7346fa776215fc25fd154ee60d5422e2b (patch)
tree153cea45c09d973240fba5c1b70cd4c09cb693b0 /generic/tclIO.h
parent2a9d0c7d0ca876dc97db9373e820c520ad293b7b (diff)
downloadtcl-56497ff7346fa776215fc25fd154ee60d5422e2b.zip
tcl-56497ff7346fa776215fc25fd154ee60d5422e2b.tar.gz
tcl-56497ff7346fa776215fc25fd154ee60d5422e2b.tar.bz2
* tests/io.test (io-53.10): Testcase for bi-directionaly fcopy.
* generic/tclIO.c: Additional changes to data structures for fcopy * generic/tclIO.h: and channels to perform proper cleanup in case of a channel having two background copy operations running as is now possible.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r--generic/tclIO.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h
index ea3c6e4..4564f32 100644
--- a/generic/tclIO.h
+++ b/generic/tclIO.h
@@ -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: tclIO.h,v 1.5.4.2 2004/07/15 20:46:19 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclIO.h,v 1.5.4.3 2008/04/07 22:17:37 andreas_kupries Exp $
*/
/*
@@ -225,7 +225,8 @@ typedef struct ChannelState {
int bufSize; /* What size buffers to allocate? */
Tcl_TimerToken timer; /* Handle to wakeup timer for this channel. */
- CopyState *csPtr; /* State of background copy, or NULL. */
+ CopyState *csPtrR; /* State of background copy for which channel is input, or NULL. */
+ CopyState *csPtrW; /* State of background copy for which channel is output, or NULL. */
Channel *topChanPtr; /* Refers to topmost channel in a stack.
* Never NULL. */
Channel *bottomChanPtr; /* Refers to bottommost channel in a stack.