.
D 2002-03-21T18:12:03
J assignee dgp
J cmimetype text/plain
J comment For\sRFE\s4097,\ssourceforge\sbug\s219042\s(pkg_mkIndex\sunnecessarily\screates\scommand\slist\sfor\s\ndirect\slo),\schanges\swere\smade\sto\spkg_mkIndex\sthat\sappear\sto\shave\sundesireable\sside\seffects.\s\s\nHere's\sthe\snote\sfrom\smy\scolleague:\n\n------------------------\nThe\sfirst\sissue\sis\sa\schange\sin\ssome\sdefault\sbehavior\swhich\sI\sbelieve\sshould\nbe\squestioned.\s\sThe\ssecond\sappears\sto\sbe\sa\sreal\sbug.\n\n\s\s\s\sFirst,\sthe\spkg_mkIndex\sdefault\sbehavior\schanged\sfrom\ssetting\sup\nlazy\sloading\sto\sdoing\sdirect\sloading.\s\sI\sfound\sthe\sbug\s(4097\sRFE)\swhich\nled\sto\sthe\schange\sin\spkg_mkIndex.\s\sHowever,\sit\swas\sonly\sa\srequest\sfor\nan\soptimization\sto\spkg_mkIndex\swhen\sthe\s-direct\sswitch\swas\sused.\s\sThe\nchange\sto\sthe\sdefault\sbehavior\sappears\sto\shave\sslipped\sin\sat\sthat\spoint.\nI\sam\sconcerned\sthat\sthis\srepresents\sa\schange\sin\s"philosophy"\swith\sregard\nto\s"package\srequire".\s\sI\sused\sto\sconsider\sthem\sto\sbe\sessentially\s"free"\nand\sscatter\sthem\sabout\swith\srelative\sabandon.\s\sNow,\sI\shave\sto\sbe\saware\nthat,\sby\sdefault,\sthe\sfirst\stime\sa\spackage\sis\srequired\sthe\sflow\swill\nstop\swhile\sthe\spackage\sis\sloaded.\n\n\s\s\s\sHowever,\sthis\sis\sbut\sa\strifle.\s\sThe\sreal\sissue\sis\sthis.\s\sWe\shave\nsome\sDLLs\swhich\shave\sboth\sTcl\sand\snon-Tcl\sentry\spoints.\s\sSo,\swe\slink\sour\nbinaries\sagainst\sthem,\sbut\salso\sdo\s"package\srequire"\scalls\swhich\swill\nultimately\sdynamically\sload\sthe\ssame\sDLLs.\s\sOur\spkg_mkIndex\scalls,\sand\nthus\sthe\sresulting\spkgIndex.tcl\sfiles,\shave\sbeen\scarefully\scrafted\sto\ninsure\sthat\sthe\sDLL\sthat\sis\sloaded\sby\sTcl\s(using\sa\srelative\spath)\sis\nreferencing\sthe\ssame\sfile\sas\sthe\sone\sthe\sOS\swill\sload\swhen\sthe\s.exe\noriginally\sbootstraps.\n\n\s\s\s\sWell,\swhen\sthe\spackage\sis\sdone\sloading,\swe\send\sup\swith\stwo\scopies\sof\nthe\sDLL\sin\smemory,\sbut\sONLY\sON\sNT\s4.0!\s\s...\sThe\sdoubly-loaded\sDLL\sis,\sI\sthought,\nnot\ssupposed\sto\sbe\spossible.\n\n\s\s\s\sWhen\swe\sgo\sback\sto\sour\sTcl-8.2-based\sproduct,\sthe\sdoubly-loaded\nDLL\sproblem\sdoes\snot\soccur,\sregardless\sof\sdirect\sor\slazy\spackage\sloading.\nThe\swin/tclWinLoad.c\sfile\sappears\sonly\sto\shave\schanged\swith\sregard\sto\nimproved\serror\shandling\sfrom\s8.2\sto\s8.4.\n\n------------------------\nWe\sinitially\sthought\sthat\sreverting\sto\slazy\sloading\swith\sTcl\s8.4\ssolved\sthe\sproblem\sbut\shave\sgotten\s\ninconsistent\sresults\sin\sfurther\stesting.\n\nThis\sis\sin\s8.4a3,\sa\s"Group"\swhich\sdoesn't\sappear\sto\sexist.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter chris_nelson
J subsystem 39.\sPackage\sManager
J title Problems\swith\sbinary\spackages\son\sNT\s4.0
J type Bug
K 533221ffffffffffffffffffffffffffffffffff
U chris_nelson
Z 4a156ad82e13000ae1a9ae9b66d4c9e4