Overview
| Artifact ID: | 372a80a0cbd3ff9c4609cc181f65be9b6e928034 |
|---|---|
| Ticket: | 218778ffffffffffffffffffffffffffffffffff
Imported commands are not compiled |
| User & Date: | nobody on 2000-10-26 01:05:15 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "10. Objects"
- title changed to: "Imported commands are not compiled"
- type changed to: "Bug"