summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-05-31 08:31:58 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-05-31 08:31:58 (GMT)
commit2b24dada59c274d04559672a8a8f57f2556daa00 (patch)
tree2662cac0c4b4f7458c792fdfc1e8916f23f4d202 /generic/tclZlib.c
parent494a61493699e4d25a166b27ecef4c31bff0d2b4 (diff)
parent7d14e74015f9f0edbefbddf1297c8a4c4d9b4f01 (diff)
downloadtcl-2b24dada59c274d04559672a8a8f57f2556daa00.zip
tcl-2b24dada59c274d04559672a8a8f57f2556daa00.tar.gz
tcl-2b24dada59c274d04559672a8a8f57f2556daa00.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 3063b59..09cddcc 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -130,12 +130,6 @@ typedef struct {
#define DEFAULT_BUFFER_SIZE 4096
/*
- * Time to wait before delivering a timer event.
- */
-
-#define TRANSFORM_TIMEOUT 0
-
-/*
* Prototypes for private procedures defined later in this file:
*/
@@ -3126,7 +3120,7 @@ ZlibTransformWatch(
if (!(mask & TCL_READABLE) || Tcl_DStringLength(&cd->decompressed) == 0) {
ZlibTransformEventTimerKill(cd);
} else if (cd->timer == NULL) {
- cd->timer = Tcl_CreateTimerHandler(TRANSFORM_TIMEOUT,
+ cd->timer = Tcl_CreateTimerHandler(SYNTHETIC_EVENT_TIME,
ZlibTransformTimerRun, cd);
}
}