Artifacts Associated With Ticket 219167
Ticket change [343934ae03] (rid 106725) by nobody on 2000-10-26 05:02:46:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1706 Bug Version: 8.0.5 SubmitDate: '1999-04-05' LastModified: '2000-07-28' Severity: SER Status: Assigned Submitter: pat ChangedBy: ericm OS: All Machine: X86 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Aharon Strosberg ReproducibleScript: EXPORT(int,Rldm818_Init)(Tcl_Interp *interp) { Tcl_CreateCommand(interp, "RLDLLOpenMux818", fnTclOpenMux818,NULL,NULL); Tcl_CreateCommand(interp, "RLDLLCloseMux818", fnTclCloseMux818,NULL,NULL); Tcl_CreateCommand(interp, "RLDLLSetMux818", fnTclSetMux818,NULL,NULL); Tcl_CreateCommand(interp, "RLDLLGetMux818", fnTclGetMux818,NULL,NULL); return Tcl_PkgProvide(interp,"RLDM818","1.0"); } ObservedBehavior: When I try to make a pkgIndex for this dll using pkg_mkIndex, I get an empty file. This doesn?t happen when I omit the numbers in the fileName, pkg_Init and packageName. This is because [load], when trying to guess the package name (and thus the name of the init function) takes the library file and strips off the extension and all trailing numbers, which are assumed to be version numbers. One possible partial solution is to modify the [load] facilities to generate a list of possible package names. Given the filename foo123.so, it currently looks for "Foo_Init"; in addition, it could look for "Foo123_Init". That is, the first guess would be the strictly alpha prefix of the filename; the second guess would be the entire filename less the extension. - eric -- 07/28/2000 ericm - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "56. LibTomMath"
- title initialized to: "pkg_mkIndex: numbers in dll names"
- type initialized to: "Bug"
Ticket change [68fc32d91f] (rid 103163) by dgp on 2001-02-08 14:15:03:
- assignee changed to: "kennykb"
- subsystem changed to: "40. Dynamic Loading"
Ticket change [560e27577f] (rid 94257) by hobbs on 2002-03-23 05:35:13:
- closedate changed to: "2002-03-22T22:35:13"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 You can work around this simply by specifying the expected package name (third arg to load).
- login: "hobbs"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "hobbs"