Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Safe interp and file command with ActiveTcl 8.6b5
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bruce Johnson  
View profile  
 More options Mar 14 2011, 12:36 pm
Newsgroups: comp.lang.tcl
From: Bruce Johnson <bruce.onem...@gmail.com>
Date: Mon, 14 Mar 2011 09:36:17 -0700 (PDT)
Local: Mon, Mar 14 2011 12:36 pm
Subject: Safe interp and file command with ActiveTcl 8.6b5
I'm having the following problem:

% set i [interp create -safe]
interp0
% interp expose $i file
::tcl::mathfunc::maxunknown hidden command "file"
%

Running the latest ActiveTcl 8.6 on Ubuntu Linux.

If I do

%interp eval $i {info commands}
tell subst eof list pid time eval lassign lrange fblocked lsearch gets case lappend proc throw break variable llength return linsert error catch clock info split array if coroutine concat join lreplace fcopy global switch update close for file append lreverse format read package set binary namespace scan apply trace seek zlib while chan flush after vwait dict uplevel continue try foreach lset rename fileevent regexp lrepeat upvar tailcall expr unset regsub interp puts incr lindex lsort string yield

I'm surprised to see file in the list of commands available in the safe interpreter.

Any suggestions would be appreciated.

Bruce


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Hobbs  
View profile  
 More options Mar 14 2011, 1:09 pm
Newsgroups: comp.lang.tcl
From: Jeff Hobbs <jeff.ho...@gmail.com>
Date: Mon, 14 Mar 2011 10:09:04 -0700 (PDT)
Local: Mon, Mar 14 2011 1:09 pm
Subject: Re: Safe interp and file command with ActiveTcl 8.6b5
On Mar 14, 9:36 am, Bruce Johnson <bruce.onem...@gmail.com> wrote:

Certain parts of the 'file' command have always been available in the
safe base, but the recent move of 'file' to being a namespace ensemble
has evidently borked its operation with safe interps.  Please file
this as a bug.

Jeff


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Johnson  
View profile  
 More options Mar 14 2011, 2:29 pm
Newsgroups: comp.lang.tcl
From: Bruce Johnson <bruce.onem...@gmail.com>
Date: Mon, 14 Mar 2011 11:29:33 -0700 (PDT)
Local: Mon, Mar 14 2011 2:29 pm
Subject: Re: Safe interp and file command with ActiveTcl 8.6b5
Filed as bug 3211758

Thanks,

Bruce


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »