summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-05-25 08:50:37 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-05-25 08:50:37 (GMT)
commit423017faed3aa258b3fa9c04cf9c6f5289d355a8 (patch)
treef84e7b63a363eae47b283df8cd05e218145957f2 /generic/tclIORTrans.c
parent8e1594e0c28687570a86fab6225c08157952fe7f (diff)
downloadtcl-423017faed3aa258b3fa9c04cf9c6f5289d355a8.zip
tcl-423017faed3aa258b3fa9c04cf9c6f5289d355a8.tar.gz
tcl-423017faed3aa258b3fa9c04cf9c6f5289d355a8.tar.bz2
Factor out constant that must be the same in multiple places. Prompted by a
conversation with Alexandre Ferrieux.
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index fd25f2d..8f111b0 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -2854,7 +2854,8 @@ TimerSetup(
return;
}
- rtPtr->timer = Tcl_CreateTimerHandler(0, TimerRun, rtPtr);
+ rtPtr->timer = Tcl_CreateTimerHandler(SYNTHETIC_EVENT_TIME,
+ TimerRun, rtPtr);
}
/*