summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-12-08 18:13:40 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-12-08 18:13:40 (GMT)
commit663ddf0e85629ebc17b2b0a161119f97df0f9e97 (patch)
tree87cf4308c186b7c66cc2dc98ad9df469287700e4
parent2904158a955ce9de68ba2adf6f4d208ac0d4d1fb (diff)
downloadtcl-663ddf0e85629ebc17b2b0a161119f97df0f9e97.zip
tcl-663ddf0e85629ebc17b2b0a161119f97df0f9e97.tar.gz
tcl-663ddf0e85629ebc17b2b0a161119f97df0f9e97.tar.bz2
Match docs and reality. [Bug 1662436]
-rw-r--r--ChangeLog6
-rw-r--r--doc/interp.n4
-rw-r--r--generic/tclBasic.c4
3 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d385d9..31bb962 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-08 Donal K. Fellows <dkf@users.sf.net>
+
+ * generic/tclBasic.c (builtInCmds): Corrected list of hidden and
+ * doc/interp.n (SAFE INTERPRETERS): exposed commands so that the
+ documentation and reality now match. [Bug 1662436]
+
2007-12-07 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclExecute.c (TclExecuteByteCode INST_REGEXP):
diff --git a/doc/interp.n b/doc/interp.n
index 4253ed6..e6e9870 100644
--- a/doc/interp.n
+++ b/doc/interp.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: interp.n,v 1.36 2007/11/01 23:03:00 dkf Exp $
+'\" RCS: @(#) $Id: interp.n,v 1.37 2007/12/08 18:13:42 dkf Exp $
'\"
.so man.macros
.TH interp n 7.6 Tcl "Tcl Built-In Commands"
@@ -489,7 +489,7 @@ built-in commands:
.DS
.ta 1.2i 2.4i 3.6i
\fBafter\fR \fBappend\fR \fBapply\fR \fBarray\fR
-\fBbinary\fR \fBbreak\fR \fBcase\fR \fBcatch\fR
+\fBbinary\fR \fBbreak\fR \fBcatch\fR \fBchan\fR
\fBclock\fR \fBclose\fR \fBconcat\fR \fBcontinue\fR
\fBdict\fR \fBeof\fR \fBerror\fR \fBeval\fR
\fBexpr\fR \fBfblocked\fR \fBfcopy\fR \fBfileevent\fR
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 26b0911..bd0802d 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.287 2007/12/06 16:14:32 dkf Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.288 2007/12/08 18:13:43 dkf Exp $
*/
#include "tclInt.h"
@@ -205,7 +205,7 @@ static const CmdInfo builtInCmds[] = {
{"source", Tcl_SourceObjCmd, NULL, 0},
{"tell", Tcl_TellObjCmd, NULL, 1},
{"time", Tcl_TimeObjCmd, NULL, 1},
- {"unload", Tcl_UnloadObjCmd, NULL, 1},
+ {"unload", Tcl_UnloadObjCmd, NULL, 0},
{"update", Tcl_UpdateObjCmd, NULL, 1},
{"vwait", Tcl_VwaitObjCmd, NULL, 1},
{NULL, NULL, NULL, 0}