Skip to content
Tcl Source Code History Of Ticket 627660ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 627660ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 627660ffffffffffffffffffffffffffffffffff

  1. Ticket change [9a5e6d399b] (rid 110933) by dgp on 2002-10-23 19:24:38:

    1. assignee initialized to: "das"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Tests safe-7.1 and safe-7.2 fail in the Tcl 8.4.1
      distribution
      on Linux.  Here's the essential problem:
      
      % [safe::interpCreate] eval package require http 1
      can't read "::tcl_platform(os)": no such element in array
      % set errorInfo    
      can't read "::tcl_platform(os)": no such element in array
          while executing
      "string equal $::tcl_platform(os) "Darwin""
          (procedure "tclPkgUnknown" line 29)
          invoked from within
      "tclPkgUnknown http 1"
          ("package unknown" script)
          invoked from within
      "package require http 1"
          invoked from within
      "[safe::interpCreate] eval package require http 1"
      
      The variable tcl_platform(os) does not exist in a
      safe interp, so this test needs to have an
      [interp issafe] check to protect it.
      
      das is already working on a patch to take these
      platform-specifc things out of [tclPkgUnknown],
      but the checks in init.tcl that will replace them
      will have a similar need to check for safe interps.
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "38. Init - Library - Autoload"
    10. title initialized to: "tclPkgUnknown broken in safe interps"
    11. type initialized to: "Bug"
  2. Add attachment "package.diff" [aa416efdec] (rid 99296) by das on 2002-10-27 18:21:34.

  3. Ticket change [d43eecc09c] (rid 123412) by das on 2002-10-27 18:21:34:

    1. closedate changed to: "2002-10-27T11:21:34"
    2. closer changed to: "das"
    3. icomment:
      
      
      File Added - 33975: package.diff
      
      Logged In: YES 
      user_id=90580
      
      the latest [patch  #624509] fixes this problem.
      
      for reference, the attached 1 line patch will also fix the bug in the 
      8.4.1 distro (in the simplest, minimal way).
      
      tested that safe.test now passes with either of these patches 
      applied.
      
      If we don't anticipate checking in [patch  #624509] in the near 
      future, maybe the attached patch should go in?
      
      
    4. login: "das"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "das"