.
D 2002-07-11T07:45:06
J icomment Logged\sIn:\sYES\s\nuser_id=68433\n\nPart\sof\sthe\sproblem\sis\sthat\sTcl_FindExecutable()\sdoes\sa\nwhole\slot\smore\sthan\sjust\sfinding\sthe\sexecutable.\s\sIt\salso\n(indirectly)\sinitializes\sall\ssubsystems,\ssets\sthe\slibrary\npath,\sand\ssets\sthe\sencoding\spath.\n\nThis\spresents\ssomething\sof\sa\scatch-22\sfor\sTclKit\sand\ssimilar\nprograms:\sthey\sneed\sto\sfind\sthe\sexecutable\sto\smount\sthe\sVFS\nto\sset\sthe\slibrary\sand\sencoding\spaths,\sbut\sby\sthe\stime\nTcl_FindExecutable()\sreturns\sthese\shave\salready\sbeen\sset\n(after\scrawling\sup\sthe\sfilesystem\slooking\sfor\ssomething\sthat\neither\sisn't\sthere\sor\sshouldn't\sbe\sused!)\n\nWe\scan't\schange\sTcl_FindExecutable()\s(too\smany\scustom\sTcl\nshells\srely\son\sthis\sbehaviour),\sbut\shaving\sa\sdifferent\nroutine\sthat\s_only_\sfinds\sthe\sexecutable\swould\sbe\shelpful.\s\nThis\swouldn't\seven\sneed\sto\sgo\sin\sthe\sstubs\stable\s--\sit,\slike\nTcl_Main,\sis\sonly\sneeded\sfor\sapplication\sinitialization.\s\n
J login jenglish
J mimetype text/plain
J username jenglish
K 579617ffffffffffffffffffffffffffffffffff
U jenglish
Z 7326c8e5be636c7ddf290e3f931b63c9