|
2026-10-15
| ||
| 11:29 | • Closed ticket [2928098fff]: standard channels not reinitialized correctly on win... artifact: e98aca53b3 user: serhiy.storchaka | |
|
2012-05-30
| ||
| 17:30 | • Pending ticket [2928098fff]. artifact: 9903d30a4b user: dkf | |
|
2010-01-20
| ||
| 16:26 | • Open ticket [2928098fff]. artifact: 95b0ca1032 user: dkf | |
| 16:26 | • Ticket [2928098fff]: 4 changes artifact: 0932d42a4c user: dkf | |
| 16:25 | • Ticket [2928098fff]: 4 changes artifact: 87630df69b user: dkf | |
|
2010-01-08
| ||
| 23:57 | • Ticket [2928098fff]: 4 changes artifact: 68f45f2b69 user: nijtmans | |
| 22:52 | • Ticket [2928098fff]: 4 changes artifact: d5c5544382 user: dkf | |
| 22:10 | • Ticket [2928098fff]: 3 changes artifact: 3fd2d2f185 user: dgp | |
| 22:10 | • Pending ticket [2928098fff]. artifact: 5f4315081d user: dgp | |
| 08:29 | • New ticket [2928098fff]. artifact: d56cc149a2 user: afaupell | |
standard channels not reinitialized correctly on windows
Closed / Invalid2928098fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 49 days ago
Descriptionplain2010-01-08 08:29:11
as documented here
http://tmml.sourceforge.net/doc/tcl/StdChannels.html
closing one of the standard channels and immediately opening a new channel should replace the recently closed standard channel
here is a test script which demonstrats the problem:
proc stdin {args} {
switch -exact -- [lindex $args 0] {
initialize { return {initialize finalize watch read} }
read {
return somedata
}
}
}
close stdin
set chan [chan create read stdin]
puts "$tcl_platform(platform): [chan names]"
heres the output:
windows: stdout rc0 stderr
unix: stdin stdout stderr
dgpplain2010-01-08 22:10:06
Isn't this just the incompatibility introduced by 2849797 ?
dgp Ticket [2928098fff]: 3 changes
[History diff]2010-01-08 22:10:07
dkfplain2010-01-08 22:52:18
might be; it's a mess for sure
nijtmansplain2010-01-08 23:57:46
>Isn't this just the incompatibility
>introduced by 2849797 ?
No, it isn't: Tcl 8.5 gives exactly
the same result, while #2849797
was only applied to Tcl 8.6.
Conclusion: This bug probably
exists in all 8.x versions of Tcl.
Regards,
Jan Nijtmans
dkfplain2010-01-20 16:25:49
What happens when a real OS channel is used instead of a synthetic channel?
dkfplain2010-01-20 16:26:37
(I'm not able to test easily, so I have to debug by asking...)
dkf Open ticket [2928098fff].
[History diff]2010-01-20 16:26:38
dkf Pending ticket [2928098fff].
[History diff]2012-05-30 17:30:04
serhiy.storchakawiki2026-10-15 11:29:05
Closing: no reply since 2012.
Log in (anonymous is fine) to add a comment.