Artifacts Associated With Ticket 218778
Ticket change [372a80a0cb] (rid 107229) by nobody on 2000-10-26 01:05:15:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2100 Bug Version: 8.1 SubmitDate: '1999-05-19' LastModified: '2000-01-12' Severity: MED Status: Released Submitter: pat ChangedBy: hobbs OS: All FixedDate: '2000-01-12' FixedInVersion: 8.3b2 ClosedDate: '2000-10-25' ReproducibleScript: If you import a compiled command into a namespace and then use the imported command then it does not get compiled. This happens because importing creates a new command which does not have the compileProc field set up. Patch: *** /afs/hur/u/pduffin/tools/tcl/tcl8.1/generic/tclNamesp.c~Thu Apr 29 02:11:46 1999 --- /afs/hur/u/pduffin/tools/tcl/tcl8.1/generic/tclNamesp.cWed May 5 11:59:21 1999 *************** *** 1263,1268 **** --- 1263,1269 ---- (ClientData) dataPtr, DeleteImportedCmd); dataPtr->realCmdPtr = cmdPtr; dataPtr->selfPtr = (Command *) importedCmd; + dataPtr->selfPtr->compileProc = cmdPtr->compileProc; /* * Create an ImportRef structure describing this new import PatchFiles: tclNamesp.c Comments: This problem appeared when I tried to write a compiled command for my Feather extension and applying the fix has fixed the problem and has not had any other noticeable effect. Does this corrrectly propagate when you rename -- 12/01/1999 hobbs Passes all tests suites, seems OK. It's been included for 8.3b2. -- 01/12/2000 hobbs - foundin initialized to: "obsolete: 8.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "10. Objects"
- title initialized to: "Imported commands are not compiled"
- type initialized to: "Bug"
Ticket change [2bf21a6d9b] (rid 118827) by welch on 2000-10-26 08:29:14:
- closedate changed to: "2000-10-26T01:29:14"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"