<i>Should Tcl_Main() exit if appInitProc returns TCL_ERROR?</i> status still Open with 4 other changes
by
.
D 2009-10-20T03:31:50
J icomment \nI\sagree\sthat\sit\swould\sbe\sa\smore\sconsistent\sbehavior\nfor\sTcl_Main\sto\sexit()\swhen\sthe\sappInitProc\sreturns\nTCL_ERROR.\s\sHowever\sthe\sexisting\sbehavior\shas\nbeen\sin\splace\ssince\srelease\s7.5,\ssince\slong\sbefore\nany\sof\sthe\scurrent\smaintainers\sgot\sstarted,\sand\sI\nhave\sno\sclear\sidea\show\smuch\scode\sis\swritten\swith\nthat\sexpectation.\n\nThe\sway\sforward\sis\sto\sTIP\sthis\sfeature\schange\sin\nthe\searly\sdays\sof\sfeature\sdevelopment\sonce\sthe\nwindow\sopens\son\sthe\s8.7/9.0\sfeature\schase.\s\sThen\nthe\sTIP\sdiscussion\swill\shave\ssome\schange\sto\schase\ndown\sthe\spros/cons\sof\sthe\sproposed\schange.\n\nAs\syou\sobserve,\sthe\sappInitProc()\swriter\shas\sa\nworkaround\savailable\sto\ssimply\scall\sexit()\sfor\nitself\sif\sit\shas\salready\sdetermined\sthat\sthe\serror\nought\sto\sbe\sa\sfatal\sone.\n
J login dgp
J mimetype text/plain
J username dgp
K 2881189fffffffffffffffffffffffffffffffff
U dgp
Z 3ccebc00b2669248f67a7988c44e2b26