.
D 2000-10-26T05:02:46
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1706\sBug\nVersion:\s8.0.5\nSubmitDate:\s'1999-04-05'\nLastModified:\s'2000-07-28'\nSeverity:\sSER\nStatus:\sAssigned\nSubmitter:\spat\nChangedBy:\sericm\nOS:\sAll\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nAharon\sStrosberg\n\nReproducibleScript:\nEXPORT(int,Rldm818_Init)(Tcl_Interp\s*interp)\n\s\s\s\s{\n\s\s\s\s\n\s\s\s\s\s\s\s\s\s\s\s\sTcl_CreateCommand(interp,\s"RLDLLOpenMux818",\n\s\s\s\sfnTclOpenMux818,NULL,NULL);\n\s\s\s\s\s\s\s\s\s\s\s\sTcl_CreateCommand(interp,\s"RLDLLCloseMux818",\n\s\s\s\sfnTclCloseMux818,NULL,NULL);\n\s\s\s\s\s\s\s\s\s\s\s\sTcl_CreateCommand(interp,\s"RLDLLSetMux818",\n\s\s\s\sfnTclSetMux818,NULL,NULL);\n\s\s\s\s\s\s\s\s\s\s\s\sTcl_CreateCommand(interp,\s"RLDLLGetMux818",\n\s\s\s\sfnTclGetMux818,NULL,NULL);\n\s\s\s\s\n\s\s\s\s\s\s\s\s\s\s\s\s\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\sTcl_PkgProvide(interp,"RLDM818","1.0");\n\s\s\s\s\n\s\s\s\s}\n\nObservedBehavior:\nWhen\sI\stry\sto\smake\sa\spkgIndex\sfor\sthis\sdll\susing\spkg_mkIndex,\n\s\s\s\sI\sget\san\sempty\sfile.\sThis\sdoesn?t\shappen\swhen\sI\somit\sthe\snumbers\n\s\s\s\sin\sthe\sfileName,\spkg_Init\sand\spackageName.\n\n\n\nThis\sis\sbecause\s[load],\swhen\strying\sto\sguess\sthe\spackage\sname\s(and\sthus\sthe\sname\sof\sthe\sinit\sfunction)\stakes\sthe\slibrary\sfile\sand\sstrips\soff\sthe\sextension\sand\sall\strailing\snumbers,\swhich\sare\sassumed\sto\sbe\sversion\snumbers.\n\nOne\spossible\spartial\ssolution\sis\sto\smodify\sthe\s[load]\sfacilities\sto\sgenerate\sa\slist\sof\spossible\spackage\snames.\s\sGiven\sthe\sfilename\sfoo123.so,\sit\scurrently\slooks\sfor\s"Foo_Init";\sin\saddition,\sit\scould\slook\sfor\s"Foo123_Init".\s\sThat\sis,\sthe\sfirst\sguess\swould\sbe\sthe\sstrictly\salpha\sprefix\sof\sthe\sfilename;\sthe\ssecond\sguess\swould\sbe\sthe\sentire\sfilename\sless\sthe\sextension.\n\n-\seric\n\n--\s07/28/2000\sericm\n\n
J foundin final:\s8.0.5
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 56.\sLibTomMath
J title pkg_mkIndex:\snumbers\sin\sdll\snames
J type Bug
K 219167ffffffffffffffffffffffffffffffffff
U nobody
Z 905afe7b870d8227e5da0af2eb14dbdc