Skip to content
Tcl Source Code History Of Ticket 218841ffffffffff
Login

History Of Ticket 218841ffffffffff

Artifacts Associated With Ticket 218841ffffffffff

  1. Ticket change [7f2326d46f] (rid 97525) by nobody on 2000-10-26 01:06:26:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
      
    4. foundin initialized to: "final: 8.1.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "56. LibTomMath"
    10. title initialized to:
      pkg_mkIndex generates an incorrect pkgIndex.tcl file
      
    11. type initialized to: "Bug"
  2. Ticket change [1328353ec9] (rid 124166) by welch on 2000-10-26 08:30:13:

    1. closedate changed to: "2000-10-26T01:30:13"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [897b61753f] (rid 132031) by dgp on 2001-04-06 02:06:50:

    1. closedate changed to: "2001-04-05T19:06:50"
    2. closer changed to: "dgp"
    3. subsystem changed to: "39. Package Manager"