Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 993587fae18ff19e9a0c2305d83575a161dca3ab
Ticket: 3445787fffffffffffffffffffffffffffffffff
Exposed file command broken in safe interps
User & Date: dkf on 2013-08-22 09:43:44
Changes

  1. closedate changed to: "2456526.90537574"
  2. comment changed to:
    Tcl as of fossil head on 11/29/2011. Follow on to bug 3211758 which was fixed post 8.6b2
    
    The fix in that bug made file a hidden command as was the case in older Tcl releases. However, the fix still does not allow all subcommands of file to be called even after exposing the file command.
    
    % interp create -safe
    interp0
    % interp expose interp0 file
    % interp0 eval {file dirname c:/tcl}
    invalid command name "::tcl::file::dirname"
    
    Aside from whether this is a good idea or not, it is a backward compatibility issue as was the case with 3211758
    
  3. login: "dkf"
  4. mimetype: "text/plain"
  5. severity changed to: "Minor"
  6. status changed to: "Closed"