<i>Problem with [file channels] if std channels not available</i> status still Open with 4 other changes
by
.
D 2001-05-22T08:57:09
J icomment Logged\sIn:\sYES\s\nuser_id=72656\n\nIt\sis\sa\sstandard\sconvention\sthat\swhen\sthe\sstd\schannels\sare\s\nclosed,\sthe\snext\sfollowing\schannels\sto\sbe\sopened\swill\sbe\s\nassumed\sas\snew\sstd\schannels.\n\nThe\squestion\shere\sis\sreally\swhether\swe\sare\scorrectly\s\nhandling\sthe\sstd\schannels\swhen\sthey\saren't\sinitially\s\nopened.\s\sI\sbelieve\sthis\swould\salso\saffect\sTcl\swhen\srun\sas\sa\s\nunix\sdaemon\sin\scertain\scases,\sand\sthe\slogic\sshould\sbe\s\nchecked\sthere.\n\nI\sguess\sit\sis\splausible\sto\sargue\sthat\sthe\sbehavior\sis\sstill\s\ncorrect,\sand\sthe\sdocs\sneed\supdating\swith\s"or\sthe\sstd\s\nchannels\swere\sunable\sto\sbe\screated\sat\sstartup".\s\sHowever,\sI\s\ncan\ssee\sthe\saliasing\sbehavior\sto\sbe\svery\sdisconcerting.\s\sMy\s\ninitial\ssuggestion\sis\sthat\sthe\svalid\sway\sto\swork\sthis\swould\s\nbe:\n\nif\s{[llength\s[file\schannels\sstd*]]\s!=\s3}\s{\n#\screate\sbogus\schannels\sto\sadd\sup\sto\s3\n}\n
J login hobbs
J mimetype text/plain
J username hobbs
K 419685ffffffffffffffffffffffffffffffffff
U hobbs
Z 9f785f67b6fe47e3fc6792d64b105e86