|
From: Alexandre F. <ale...@gm...> - 2010-02-05 00:04:28
|
On 2/4/10, Wayne Cuddy <wc...@us...> wrote:
>
> TIP #361: RELEASING CHANNEL BUFFERS
Uh, is it just me, or is the problem very different in 8.6 HEAD ?
(in another terminal: mkfifo /tmp/fifo;sleep 9999 < /tmp/fifo)
set ff [open /tmp/fifo w]
fconfigure $ff -blocking 0
puts -nonewline $ff [string repeat A 999999]
flush $ff
close $ff
exit
=> exits immediately
Comment out the 'close' above, and the [exit] blocks again....
Note that this *might* be the effect of one of the shortcuts done in
the 'exit reform' [Bug 2001201].
If this is confirmed, then maybe the TIP is unneeded, since we've
already broken compatibility, not for [exit] alone, but for explicit
close of nonblocking channels.
I am sorry to say that Wayne after pushing you to file a TIP... but
for once Tcl seems to be doing the Right Thing :}
-Alex
|