Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 89f2e3fa899e0a91d4a0ac4457c09a409160746b
Ticket: 2906841fffffffffffffffffffffffffffffffff
calling [glob ../*] in an safe interp returns weird things
User & Date: dkf on 2009-12-02 22:48:17
Changes

  1. icomment:
    
    
    allow_comments - 0
    
    With safe.tcl 1.33 in the tip of the 8.5 branch, I get globbing where I wouldn't expect it:
    
    bash$ make -C unix shell
    DYLD_LIBRARY_PATH="`pwd`:${DYLD_LIBRARY_PATH}"; export DYLD_LIBRARY_PATH; \
    TCL_LIBRARY="/Users/dkf/Documents/software/tcl8.5/library"; export TCL_LIBRARY; \
    ./tclsh 
    % safe::interpCreate test
    test
    % test eval glob ../*
    ../ChangeLog ../ChangeLog.1999 ../ChangeLog.2000 ../ChangeLog.2001 ../ChangeLog.2002 ../ChangeLog.2003 ../ChangeLog.2004 ../ChangeLog.2005 ../ChangeLog.~1.3975.2.269.~ ../changes ../compat ../CVS ../doc ../generic ../library ../libtommath ../license.terms ../macosx ../README ../tests ../tools ../unix ../win
    
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "dkf"