D 2010-01-08T13:46:26 J assignee andreas_kupries J cmimetype text/plain J comment In\swish\sfor\sWindows,\sthe\soutput\sof\s[chan\snames]\sis\sincorrect\sin\sthreads.\sThe\sfollowing\sscript\sdemonstrates\sthis:\n\n\s\s\s\spackage\srequire\sThread\n\s\s\s\sset\stid\s[thread::create]\n\s\s\s\sputs\s[thread::send\s$tid\s{chan\snames}]\n\s\s\s\sputs\s[thread::send\s$tid\s{open\s~/temp.txt\sw}]\n\s\s\s\sputs\s[thread::send\s$tid\s{chan\snames}]\n\nIn\stclsh\sand\swish\sfor\sUnix,\sthe\scorrect\soutput\sis:\n\n\s\s\s\sstderr\sstdout\sstdin\n\s\s\s\sfilee5cd20\n\s\s\s\sstderr\sstdout\sstdin\sfilee5cd20\n\nIn\swish\sfor\sWindows,\sthe\sincorrect\soutput\sis:\n\n\s\s\s\s\n\s\s\s\sfileecff28\n\s\s\s\sstdin\n\nThe\sfirst\scall\sreturns\san\sempty\sstring,\swhich\sis\swell-documented\sin\sBrent\sWelch's\sbook.\sThe\ssecond\scall\sreturns\s"stdin"\sinstead\sof\sthe\snew\schannel.\sSubsequent\scalls\sto\s"open"\swill\sproduce\s"stdout"\sand\s"stderr"\sto\sappear,\salthough\sthey\sdon't\sreally\sexist. J foundin obsolete:\s8.5.8 J is_private 0 J priority 5\sMedium J resolution None J status Open J submitter tomkiti J subsystem 25.\sChannel\sSystem J title Channel\sNames\sIncorrect\sin\sThreads J type Bug K 2928272fffffffffffffffffffffffffffffffff U tomkiti Z 2cf92ce529f29a8bd4020ed1906ece36