Skip to content
Tcl Source Code Artifact [56c05792d1]
Login

Artifact [56c05792d1]

Artifact 56c05792d1290ce54792769a17130ce85f661866:

Ticket change [56c05792d1] - New ticket [2558422fffffffff|2558422fff] <i>const Tcl_ObjTypes breaking stubs contract.</i>. by patthoyts on 2009-02-02 22:01:34.
D 2009-02-02T22:01:34
J assignee nijtmans
J cmimetype text/plain
J comment The\schange\sto\sthe\score\sTcl_ObjTypes\sof\s15\sOct\s2008\shas\sthe\sreturn\stype\sfor\sTcl_GetObjType\sand\sthe\sstorage\sattribute\sfor\sthe\score\stype\sstructures\sto\sconst.\s\sAs\snoted\sin\sthe\scommit\scomment\sfor\ssome\s(all?)\scompilers\sthis\swill\smove\sthe\sstorage\slocation\sin\sthe\sbinary\sto\sthe\sTEXT\ssegment\sso\sthat\sthe\sstructure\sis\struly\sconstant.\n\nHowever,\sthis\schange\scritically\saffects\sthe\sfollowing\sextensions:\stcom\s(Windows\sCOM\ssupport);\s\stcljava,\stclblend,\snsjava\s(all\sjava\sbridges,\spossibly\sall\svariations\son\sa\ssingle\scode\sbase);\scombat\s(CORBA\sbridge);\se4graph.\n\nAll\sthese\sextensions\suse\sthe\ssame\stechnique\sof\soverriding\sthe\scmdName\stype\sto\sadd\scode\sto\sthe\sfreeIntRepProc\smember.\sThese\sextensions\snow\scrash\swhen\sloaded\sinto\san\s8.6\sinterpreter.\n\nThe\sreason\sthese\sextensions\sdo\sthis\sis\sto\sprovide\sfor\scommand-like\sreferences\sto\sthings\sthat\sneed\scleaning\sup\sautomatically.\sI\scould\sgo\son\swith\san\sexplanation\sof\sthe\sCOM\spackage's\suse\sof\sthis\sbut\sreally\sthe\smain\spoint\sis\sthat\sthis\scommit\shas\schanged\sthe\sstubs\scontract\shere.\sExtensions\sthat\swere\sfine\susing\sstubs\swith\s8.4\sand\s8.5\snow\scrash\swith\s8.6.\n\nCan\swe\shave\sthis\sreverted:\n\nC:\\opt\\tcl\\src\\tcl.git>git\sbisect\sgood\n63c56af1f8be10728f09ff1d066ec899977d9e16\sis\sfirst\sbad\scommit\ncommit\s63c56af1f8be10728f09ff1d066ec899977d9e16\nAuthor:\snijtmans\s<nijtmans>\nDate:\s\s\sWed\sOct\s15\s06:17:03\s2008\s+0000\n\n\s\s\s\sAdd\s"const"\sto\smany\sinternal\n\s\s\s\sconst\stables,\sso\sthose\swill\sbe\n\s\s\s\sput\sby\sthe\sC-compiler\sin\sthe\n\s\s\s\sTEXT\ssegment\sin\sstead\sof\sthe\n\s\s\s\sDATA\ssegment.\sThis\smakes\sthose\n\s\s\s\stable\ssharable\sin\sshared\slibraries.\n\n
J foundin obsolete:\s8.6b1.1
J is_private 0
J priority 9\sImmediate
J resolution None
J status Open
J submitter patthoyts
J subsystem 10.\sObjects
J title const\sTcl_ObjTypes\sbreaking\sstubs\scontract.
J type Bug
K 2558422fffffffffffffffffffffffffffffffff
U patthoyts
Z d991f1def0733ca116c7dad655bbd67b