Artifacts Associated With Ticket 2928272
Ticket change [e8005f863b] (rid 104572) by tomkiti on 2010-01-08 13:46:26:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
In wish for Windows, the output of [chan names] is incorrect in threads. The following script demonstrates this: package require Thread set tid [thread::create] puts [thread::send $tid {chan names}] puts [thread::send $tid {open ~/temp.txt w}] puts [thread::send $tid {chan names}] In tclsh and wish for Unix, the correct output is: stderr stdout stdin filee5cd20 stderr stdout stdin filee5cd20 In wish for Windows, the incorrect output is: <blank> fileecff28 stdin The first call returns an empty string, which is well-documented in Brent Welch's book. The second call returns "stdin" instead of the new channel. Subsequent calls to "open" will produce "stdout" and "stderr" to appear, although they don't really exist. - foundin initialized to: "obsolete: 8.5.8"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tomkiti"
- subsystem initialized to: "25. Channel System"
- title initialized to: "Channel Names Incorrect in Threads"
- type initialized to: "Bug"
Ticket change [7236ef882e] (rid 100819) by dgp on 2010-01-08 22:14:03:
- assignee changed to: "dkf"
- icomment:
More fallout from 2849797 I think.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "dgp"
Ticket change [11cb21ec28] (rid 95203) by nijtmans on 2010-01-09 00:05:00:
- icomment:
>More fallout from 2849797 I think I don't think so: This bug is reported against 8.5.8, and #2849797 is only in 8.6! Therefore, I don't think that the priority should be that high. ;-)
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [aceea300e3] (rid 101379) by tomkiti on 2010-01-09 04:39:21:
- icomment:
I just tried 8.6.0.0b2 and the same thing occurs.
- login: "tomkiti"
- mimetype: "text/plain"
- username: "tomkiti"
- icomment:
Ticket change [a20b98aa7f] (rid 109829) by hobbs on 2010-08-05 02:55:01:
- closedate changed to: "2010-08-04T19:55:01"
- closer changed to: "hobbs"
- icomment:
This is quasi- (poorly?) documented behavior. If you see the docs for Tcl_OpenFileChannel (http://www.tcl.tk/man/tcl8.5/TclLib/OpenFileChnl.htm#M6) it actually allows inheritance of the std channels when they don't exist. I've always thought this was a bad behavior, but it was taken from libc behavior.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Pending"
- username: "hobbs"
Ticket change [e7dd8e0641] (rid 104546) by jenglish on 2010-08-05 07:29:20:
- icomment:
>I've always thought this was a bad behavior, { agreed } > but it was taken from libc behavior. ... and for the record, it was taken *incorrectly*; Tcl's treatment of closed std* channels was based on an apparent misunderstanding. In C, fclose(stdin); followed by a successfull call to fopen("whatever","r"); does *not* magically resurrect the stdin FILE *, and never has. - login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"
- icomment:
Ticket change [a13da015a1] (rid 109684) by sf-robot on 2010-09-30 02:00:04:
- closedate changed to: "2010-09-29T19:00:04"
- closer changed to: "sf-robot"
- icomment:
allow_comments - 1 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"