Skip to content
Tcl Source Code History Of Ticket 4b7311c839f053e1
Login

History Of Ticket 4b7311c839f053e1

Artifacts Associated With Ticket 4b7311c839f053e1

  1. Ticket change [9d68cefd03] (rid 184736) by kjnash on 2020-07-15 11:36:05:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      When a script calls
      
        safe::interpConfigure $int option value ?option value...?
      
      the Safe Base tests to see if the interpreter's access path (option -accessPath) has changed.
      
      If the value changes, the mapping from directories to tokens also changes, and the Safe Base is supposed to call auto_reset in the safe interpreter so that stale data is flushed from the autoloader.  Without this feature, the autoloader in the safe interpreter would believe that files are in the wrong directories.
      
      The test in safe.tcl is the wrong way around: auto_reset is called if the value of access path has *not* changed.
      
      Fixed in branch safe-bugfixes-8-6 commit ecc0872a76.  New test safe-9.9 checks that auto_reset is called when it should be.
      
    5. foundin initialized to: "core-8-6-branch"
    6. is_private initialized to: "0"
    7. login: "kjnash"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "a774b1f5653dc3360e29ea7d635a64e94c9f1dab"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "kjnash"
    14. subsystem initialized to: "33. Safe Base"
    15. title initialized to: "safe.tcl"
    16. type initialized to: "Bug"
  2. Ticket change [c4bc41dd23] (rid 184737) by kjnash on 2020-07-15 11:37:37:

    1. login: "kjnash"
    2. mimetype: "text/plain"
    3. title changed to: "auto_reset in safe.tcl"
  3. Ticket change [fb9205a634] (rid 184768) by kjnash on 2020-07-16 01:12:55:

    1. comment changed to:
      When a script calls
      
        safe::interpConfigure $int option value ?option value...?
      
      the Safe Base tests to see if the interpreter's access path (option -accessPath) has changed.
      
      If the value changes, the mapping from directories to tokens also changes, and the Safe Base is supposed to call auto_reset in the safe interpreter so that stale data is flushed from the autoloader.  Without this feature, the autoloader in the safe interpreter would believe that files are in the wrong directories.
      
      The test in safe.tcl is the wrong way around: auto_reset is called if the value of access path has *not* changed.
      
      Fixed in branch safe-bugfixes-8-6 commit [ecc0872a76].  New test safe-9.9 checks that auto_reset is called when it should be.
      
    2. login: "kjnash"
    3. mimetype: "text/plain"
  4. Ticket change [ca931d27c0] (rid 184778) by kjnash on 2020-07-16 01:59:53:

    1. login: "kjnash"
    2. mimetype: "text/plain"
    3. title changed to:
      Call auto_reset when access path changes in safe interp
      
  5. Ticket change [08098fe00b] (rid 190597) by kjnash on 2020-12-31 16:06:03:

    1. closedate changed to: "2459215.17087399"
    2. closer changed to: "kjnash"
    3. login: "kjnash"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. status changed to: "Closed"