<i>Make stubs tables static const</i> status still Open with 4 other changes
by
.
D 2008-04-09T23:56:35
J icomment Logged\sIn:\sYES\s\nuser_id=90580\nOriginator:\sYES\n\nThe\snotifier\spart\sof\sthis\spatch\sis\sindependent\sof\sthe\sstubs\schanges\sand\sshould\sbe\sapplied\sregardless\sof\sthe\sdecision\son\sconst\sstubs\sas\sthe\scurrent\scode\sis\sbuggy\sIMO.\n\nThere\sshould\sbe\sno\schange\sin\sfunctionality\sfor\sthe\snotifier,\swhether\shooked\sor\snot,\sthe\smain\sdifference\safter\sthe\spatch\sis\sthat\sin\sa\sfew\scases\sthe\scheck\sfor\shooks\shas\smoved\sfrom\sbefore\sthe\scall\sto\sa\snotifier\sproc\sto\sinside\sthe\scall,\swhich\swill\slead\sto\san\sextra\sfunction\scall\swhen\sthe\snotifier\sis\shooked.\sOnly\sdoing\sthe\scheck\sbefore\sthe\scall\swas\sarguably\sa\sbug\sanyway\sas\sit\swas\snot\sgoing\sto\scatch\sall\scases\sof\scalls\sto\sthe\sfunction...\n\nTcl_SetNotifier\sas\sa\swhole\sis\sa\sbit\sof\sa\shack\sanyway,\sit\sis\sreally\sonly\ssafe\sto\suse\sbefore\sTcl\sis\sinitialized,\sTkAqua\swas\susing\sit\sat\sTk\sload\stime\sbefore\sI\simplemented\sthe\sCoreFoundation\snotifier\sand\shad\sto\scall\sthe\sinternals\sTclFinalizeNotifier()\sand\sTclInitNotifier()\sto\sget\sthings\sto\swork\s(and\seven\sthen\sstarting\sand\simmediately\skilling\sthe\sthreading\sunix\snotifier\snever\sworked\sall\sthat\swell):\n\s\s\s\shttp://fisheye.categorifiedcoder.info/changelog/Tk?cs=MAIN:das:20050514204814\n\nAs\sfar\sas\sconst\sstubs\sgo,\sIMO\sthe\sonly\sway\sa\smodifiable\sstubs\stable\scould\sever\sbecome\sreliably\suseful\swould\sbe\sif\swe\scould\sassure\sthat\sall\scalls\sfrom\sinside\stcl\s(resp\stk)\sas\swell\sas\sthrough\sthe\snormal\sshared\slibrary\sfunction\scalls\sgo\sthrough\sthe\sstubs\stable\s(if\sthis\swork\sis\sever\sdone\sinside\sthe\score,\sthe\sstubs\stable\scan\seasily\sbe\smade\snon-const\sagain\sat\sthat\stime...)\nGiven\sthat\sthis\sis\snot\sthe\scase\snow,\swritable\sstubs\stables\sonly\sgive\sthe\sincorrect\simpression\sthat\smodifying\sthem\smight\sbe\sa\suseful\sthing\sto\sdo.\n\nIMO\snow\sis\san\sopportune\stime\sto\smake\sthis\schange,\salongside\sthe\sother\srecent\sstubs\schanges\s(in\sparticular\sstubsPtrs\sconstification),\sif\sit\scauses\sany\sproblems\swe\swill\shopefully\sfind\sout\sbefore\s8.6.0\sfinal...\n
J login das
J mimetype text/plain
J username das
K 1938497fffffffffffffffffffffffffffffffff
U das
Z 510fcb66d7034992e22e7f1c3cd4c5bf