summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-04-25 19:51:36 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-04-25 19:51:36 (GMT)
commit4119a864755c221944bcd1967b8243a2acc3d9aa (patch)
tree760c4c028631f43f87e18807070ef3102b130c17 /generic
parent0781259dd17444340c1a926c4cd2b5ade72bfebe (diff)
downloadtcl-4119a864755c221944bcd1967b8243a2acc3d9aa.zip
tcl-4119a864755c221944bcd1967b8243a2acc3d9aa.tar.gz
tcl-4119a864755c221944bcd1967b8243a2acc3d9aa.tar.bz2
Disable buffer recycling, which creates mysteries.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 41ac1e1..df863cc 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -2342,7 +2342,7 @@ RecycleBuffer(
* Do we have to free the buffer to the OS?
*/
- if (mustDiscard) {
+ if (1 || mustDiscard) {
ReleaseChannelBuffer(bufPtr);
return;
}