Artifacts Associated With Ticket 218841
Ticket change [7f2326d46f] (rid 97525) by nobody on 2000-10-26 01:06:26:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2360 Bug Version: 8.1.1 SubmitDate: '1999-07-16' LastModified: '2000-01-28' Severity: SER Status: Released Submitter: techsupp ChangedBy: ericm OS: All Machine: X86 FixedDate: '2000-01-28' FixedInVersion: 8.3 ClosedDate: '2000-10-25' Name: Gerald Banon ReproducibleScript: In the current directory I have a file named prog.tcl containing two procedures whose names are defined within braces like below: package provide prog 1.1 proc {a b} {} { } proc {c d} {} { } When running the command: pkg_mkIndex . prog.tcl the resulting pkgIndex.tcl file contains the line: package ifneeded prog 1.1 [list tclPkgSetup $dir prog 1.1 {{definition.tcl source {{{a b}} {{c d}}}}}] In this line there are extra braces arround {a b} and {c d}. Latter on, with these extra braces, the two procedures cannot be loaded ... ObservedBehavior: see above DesiredBehavior: in Tcl 8.0p2 such procedure names cames without extra braces in the pkgIndex.tcl file and latter on the procedures were properly loaded. Verified. This is due to the auto_qualify proc always wanting to return everything as [list]'ed. -- 11/30/1999 hobbs As Jeff noted, this was due to auto_qualify always returning a list. I modified pkg_mkIndex to just grab the first element of the list, in essence un-listifying the result. This should be done anyway, as auto_qualify can return a multi-element list, so to protect against that we want only the first element too. This fix is in 8.3. - eric -- 01/28/2000 ericm - foundin initialized to: "final: 8.1.1"
- 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 generates an incorrect pkgIndex.tcl file
- type initialized to: "Bug"
Ticket change [1328353ec9] (rid 124166) by welch on 2000-10-26 08:30:13:
- closedate changed to: "2000-10-26T01:30:13"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [897b61753f] (rid 132031) by dgp on 2001-04-06 02:06:50:
- closedate changed to: "2001-04-05T19:06:50"
- closer changed to: "dgp"
- subsystem changed to: "39. Package Manager"