diff options
author | Kevin B Kenny <kennykb@acm.org> | 2017-03-14 22:06:43 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2017-03-14 22:06:43 (GMT) |
commit | 6212b342f6712c047d9e997ad21f767af934983d (patch) | |
tree | 5af537edbddd86f79239fbcf3b27a4139ef1212e /generic/tclBasic.c | |
parent | 5ddb691286f2aa5d37b524769d0267211527f155 (diff) | |
download | tcl-6212b342f6712c047d9e997ad21f767af934983d.zip tcl-6212b342f6712c047d9e997ad21f767af934983d.tar.gz tcl-6212b342f6712c047d9e997ad21f767af934983d.tar.bz2 |
Make 'clock' and 'encoding' into compilable ensembles that play with safe interps
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index c14c15b..4bddbce 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -1026,6 +1026,7 @@ TclHideUnsafeCommands( Tcl_HideCommand(interp, cmdInfoPtr->name, cmdInfoPtr->name); } } + TclMakeEncodingCommandSafe(interp); /* Ugh! */ TclMakeFileCommandSafe(interp); /* Ugh! */ return TCL_OK; } |