From 9afd9ab6981c1b045a6bf4219b5523aca765f54a Mon Sep 17 00:00:00 2001 From: patthoyts Date: Mon, 10 Dec 2007 11:40:09 +0000 Subject: Update for 'unload' as a safe command (tcl 8.5b3+) --- ChangeLog | 4 ++++ tests/safe.test | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c1acccb..f790333 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-10 Pat Thoyts + + * tests/safe.test: Update for 'unload' as a safe command (tcl 8.5b3+) + 2007-12-09 Donal K. Fellows * win/configure.in: Adjusted code so that running configure does not diff --git a/tests/safe.test b/tests/safe.test index bbfd095..1ec813b 100644 --- a/tests/safe.test +++ b/tests/safe.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: safe.test,v 1.16 2006/10/17 10:21:50 patthoyts Exp $ +# RCS: @(#) $Id: safe.test,v 1.17 2007/12/10 11:40:19 patthoyts Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -35,9 +35,9 @@ tcltest::loadTestedCommands # The set of hidden commands is platform dependent: if {[string equal $tcl_platform(platform) "windows"]} { - set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection socket source tk_chooseColor tk_chooseDirectory tk_getOpenFile tk_getSaveFile tk_messageBox toplevel wm} + set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection socket source tk_chooseColor tk_chooseDirectory tk_getOpenFile tk_getSaveFile tk_messageBox toplevel unload wm} } else { - set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection send socket source toplevel wm} + set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection send socket source toplevel unload wm} } set saveAutoPath $::auto_path -- cgit v0.12