Skip to content
Tcl Source Code History Of Ticket 219295
Login

History Of Ticket 219295

Artifacts Associated With Ticket 219295

  1. Ticket change [f36a7f3499] (rid 129710) by nobody on 2000-10-26 05:10:16:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2529 RFE
      Version: 8.1
      SubmitDate: '1999-08-12'
      LastModified: '1999-10-21'
      Severity: MED
      Status: UnAssn
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Other
      Machine: NA
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Chang LI
      
      ReproducibleScript:
      Tcl can not automatically search the extensions of one level more
          subdirectory under the lib directory. Example:
          
          lib\name\version
      
      PatchFiles:
      patch in the init.tcl file:
          
          The init.tcl is located in the lib\tcl8.1, add the proc in the header, 
                               
                              #
                              # this is a recursive program to make automatically
          search 
                              # subdirectory possible.
                              #
                              proc AppendFolder {start} {
                              set cur [pwd]
                              if {[catch {cd $start} err]} {
                                puts stderr $err
                                return
                              }
                              foreach f [glob -nocomplain *] {
                                if [file isdirectory $f] {
                                set d [file join $start $f]
                                lappend ::auto_path $d
                                AppendFolder $d
                                }
                              }
                              cd $cur 
                              }
                               
                              ...
                               
                              # add following command here
                               
                              AppendFolder [file dirname [file join [pwd] [info
          library]]]
                               
                              # Setup the unknown package handler
                              package unknown tclPkgUnknown
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.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: "Search one level more subdirectory in lib"
    11. type initialized to: "RFE"
  2. Ticket change [59ec906fab] (rid 118053) by dgp on 2001-02-08 13:20:13:

    1. assignee changed to: "dgp"
    2. subsystem changed to: "38. Init - Library - Autoload"
  3. Ticket change [84469b2cce] (rid 117528) by dgp on 2001-04-04 04:47:24:

    1. subsystem changed to: "38. Init - Library - Autoload"
  4. Ticket change [053a3a16ef] (rid 89021) by dgp on 2001-08-27 08:08:58:

    1. closedate changed to: "2001-08-27T01:08:58"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      The desired behavior can be easily achieved
      by using [package unknown] to assign another
      command to search for the pkgIndex.tcl files.
      No need for any core changes.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Rejected"
    7. status changed to: "Closed"
    8. username: "dgp"