Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-04-15
14:37 • Closed ticket [3517980fff]: fconfigure -flush sync gives buffer error plus... artifact: 18ac5fbb61 user: dkf
06:35 • New ticket [3517980fff]. artifact: 6c19695f80 user: teopetuk

[fconfigure -flush sync] gives buffer error

Closed / Duplicate3517980fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2012-04-15 06:35:36
Hi!

Appears that [fconfigure $chan -flush sync] (or -flush full) returns buffer error in the following example:

set fd [open file.zlib w]
zlib push compress $fd
puts $fd "qwertyuiop"
fconfigure $fd -flush sync
puts $fd "qwertyuiop"
close $fd
dkfplain2012-04-15 14:37:45
allow_comments - 1
Log in (anonymous is fine) to add a comment.