summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-05-23 13:13:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-05-23 13:13:46 (GMT)
commit22931fabb9fcd685d6e4b1e4574e02c20f826d70 (patch)
treec4ac8430ccc82216df861def489d1964a62f7ee6 /generic/tclIORTrans.c
parent565885307e6c24d3a27eaa01d7701dd2819336a8 (diff)
parent3cc210b6d0579358daa94a0f3670e30c973b7f34 (diff)
downloadtcl-22931fabb9fcd685d6e4b1e4574e02c20f826d70.zip
tcl-22931fabb9fcd685d6e4b1e4574e02c20f826d70.tar.gz
tcl-22931fabb9fcd685d6e4b1e4574e02c20f826d70.tar.bz2
* generic/tclZlib.c (ZlibTransformInput): [Bug 3525907]: Ensure that
decompressed input is flushed through the transform correctly when the input stream gets to the end. Thanks to Alexandre Ferrieux and Andreas Kupries for their work on this.
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index 6c9a41b..fd25f2d 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -439,13 +439,6 @@ static const char *msg_dstlost =
*/
/*
- * Number of milliseconds to wait before firing an event to try to flush out
- * information waiting in buffers (fileevent support).
- */
-
-#define FLUSH_DELAY (5)
-
-/*
* Helper functions encapsulating some of the thread forwarding to make the
* control flow in callers easier.
*/
@@ -1230,7 +1223,7 @@ ReflectInput(
*
* ReflectOutput --
*
- * This function is invoked when data is writen to the channel.
+ * This function is invoked when data is written to the channel.
*
* Results:
* The number of bytes actually written.
@@ -2861,7 +2854,7 @@ TimerSetup(
return;
}
- rtPtr->timer = Tcl_CreateTimerHandler(FLUSH_DELAY, TimerRun, rtPtr);
+ rtPtr->timer = Tcl_CreateTimerHandler(0, TimerRun, rtPtr);
}
/*