Skip to content
Tcl Source Code Artifact [ca61af88e8]
Login

Artifact [ca61af88e8]

Artifact ca61af88e89fb9f5801a652a858a9cfcc76e0cb1:

Ticket change [ca61af88e8] - New ticket [217893ffffffffff|217893ffff] <i>shells and custom Stubs tables</i>. by nobody on 2000-10-26 00:45:32.
D 2000-10-26T00:45:32
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2489\sRFE\nVersion:\s8.2b1\nSubmitDate:\s'1999-08-03'\nLastModified:\s'1999-12-09'\nSeverity:\sSER\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s2517\nOS:\sWindows\sNT\nOSVersion:\s4.0\ssp5\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-12-09'\n\n\nName:\nDavid\sGravereaux\n\nComments:\nCreate\sa\sStubs\stable\sfor\syour\sown\sextension.\s\sThen\smake\sanother\n\s\s\s\sextension\sbased\sfrom\sthe\sfirst\susing\sit's\sStub\stable.\s\sThen\smake\sa\sshell\n\s\s\s\sfor\sthat\sone\sand\slook\sclosely\sat\sthe\sarchitecture.\s\sStubs\sfalls\sto\n\s\s\s\spieces\sat\slevel\s2.\s\sRemoving\sthe\simplicit\slink\sto\stclxx.dll\sfor\sthe\n\s\s\s\sshell\swill\ssolve\sthis\scompletely.\n\nDesiredBehavior:\nThe\suse\sof\sStubs\stables\sin\sextensions\shas\sa\slimited\sgrowth.\n\s\s\s\s\n\s\s\s\sI\srecently\sworked\son\s[incr\sTcl]\sgiving\sit's\sown\sStubs\stable\sso\sI\scould\n\s\s\s\suse\sit\sin\s8.1+\sand\sdiscovered\sa\svery\sbad\sarchitecure\sproblem\sthat\sneeds\n\s\s\s\sattention.\n\s\s\s\s\n\s\s\s\sWhen\susing\sa\scustom\sStubs\stable\sto\screate\sa\ssecond\sextension,\sa\sshell\n\s\s\s\scannot\sbe\screated\sbecause\sof\sa\scircular\sdependency\saround\n\s\s\s\sTcl_PkgRequireEx.\s\sThe\sshell\sitself\sis\slinked\sto\sthe\stclXX.dll\sas\san\n\s\s\s\simport\sfor\simplicit\slinking\sat\sload-time.\s\sThe\sproblem\sis\sthat\sthe\n\s\s\s\s<pkg>StubsLib.c\s(of\sthe\sfirst\sextension)\swas\sproperly\scompiled\swith\n\s\s\s\s-DUSE_TCL_STUBS\sso\sthe\ssecond\sextension\scould\suse\sit's\sfunctions.\s\sYet,\n\s\s\s\swhen\slinking\sa\sshell,\sthere\sis\sno\stclStubsPtr\svariable\sthat\sthe\sredefine\n\s\s\s\sof\sTcl_PkgRequireEx\scan\sresolve\sto.\s\sNor\sis\sit\sshown\sin\stclAppInit.c\n\s\s\s\s(the\sshell\stemplate)\show\sthis\ssituation\sis\ssupposed\sto\sbe\smanaged.\n\s\s\s\s\n\s\s\s\sIf\sshells\sare\snot\ssupposed\sto\suse\scustom\sStubs\stables\sand\slink\sas\san\n\s\s\s\simport,\sthen\sALL\sextensions\swill\shave\sto\sreside\sin\sTcl's\sbin\sdirectory.\n\s\s\s\s\n\s\s\s\sIf\sshells\sare\sto\suse\scustom\sStubs\stables\s(and\sthey\ssure\sshould\sfor\sthe\n\s\s\s\sbenifits),\sthen\sa\ssolution\sto\sthe\scircularity\sproblem\sof\show\sto\shandle\n\s\s\s\sthe\sTcl_PkgRequireEx\scall\sfor\sthe\sextension's\s<pkg>stubs.lib\sshould\sbe\n\s\s\s\slooked\sinto.\n\s\s\s\s\n\s\s\s\sCompiling\sthe\sfirst's\s<pkg>StubLib.c\swithout\sthe\sUSE_TCL_STUBS\sdefine\n\s\s\s\sjust\sfor\sthe\sshell\slink\swould\swork,\sbut\sthis\sstill\sleads\sback\sto\smethod\n\s\s\s\sthat\sshells\sare\sconnected\sto\stcl\sas\sbeing\sincorrect\sfor\sgrowth.\n\s\s\s\s\n\s\s\s\sPersonally,\sI'm\sin\sfavor\sof\sa\sdynamic\sloading\smechanism\sso\sthat\stclsh\n\s\s\s\suses\sthe\sTcl\sStubs\stable.\n\n\n\n
J foundin obsolete:\s8.2b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title shells\sand\scustom\sStubs\stables
J type Bug
K 217893ffffffffffffffffffffffffffffffffff
U nobody
Z 753f33cd72921e35586250ee9bd58fb9