Artifact
d56cc149a212e0e1e6c9b12e01467426b5ea8568:
Ticket change
[d56cc149a2]
- New ticket
[2928098fffffffff|2928098fff] <i>standard channels not reinitialized correctly on windows</i>.
by
afaupell on
2010-01-08 08:29:11.
D 2010-01-08T08:29:11
J assignee andreas_kupries
J cmimetype text/plain
J comment as\sdocumented\shere\nhttp://tmml.sourceforge.net/doc/tcl/StdChannels.html\nclosing\sone\sof\sthe\sstandard\schannels\sand\simmediately\sopening\sa\snew\schannel\sshould\sreplace\sthe\srecently\sclosed\sstandard\schannel\n\nhere\sis\sa\stest\sscript\swhich\sdemonstrats\sthe\sproblem:\n\n\s\sproc\sstdin\s{args}\s{\n\s\s\s\sswitch\s-exact\s--\s[lindex\s$args\s0]\s{\n\s\s\s\s\s\s\s\sinitialize\s{\sreturn\s{initialize\sfinalize\swatch\sread}\s}\n\s\s\s\s\s\s\s\sread\s{\n\s\s\s\s\s\s\s\s\s\s\sreturn\ssomedata\n\s\s\s\s\s\s\s\s}\n\s\s\s\s}\n}\nclose\sstdin\nset\schan\s[chan\screate\sread\sstdin]\nputs\s"$tcl_platform(platform):\s[chan\snames]"\n\n\nheres\sthe\soutput:\nwindows:\sstdout\src0\sstderr\nunix:\sstdin\sstdout\sstderr\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter afaupell
J subsystem 25.\sChannel\sSystem
J title standard\schannels\snot\sreinitialized\scorrectly\son\swindows
J type Bug
K 2928098fffffffffffffffffffffffffffffffff
U afaupell
Z f8b4bd84296aee4175fc04293a585ebc